The Maven Install Plugin is used during the install phase to add artifact(s) to the local repository.
Questions tagged [maven-install-plugin]
83 questions
1
vote
2 answers
How can I mvn:install shaded maven artifact
This should have been easy but I'm experiencing strange behavior from maven-install plug-in.
I needed to repackage some common dependencies into my project to avoid dependency conflicts. for that purpose I used shade plugin with relocations…

miljanm
- 906
- 7
- 20
1
vote
2 answers
Grails maven-install not working on Windows 7
I've installed grails-2.3.6 and Maven 3.2.1 on my Windows 7 machine. If I check to see that Maven is set up correctly, I get the following command-line output:
D:\>mvn --version
Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9;…

AdjustingForInflation
- 1,571
- 2
- 26
- 50
1
vote
1 answer
Using maven with external build scripts
My application depends on a third-party ear (it deconstructs it, adds/modifies some items therein, and reconstructs it into a new ear). The third-party ear must be built using a third-party build script.
I am trying to learn the "maven-y" way to…

Warren
- 1,903
- 1
- 21
- 30
1
vote
1 answer
Running a task in parallelto maven install
I looking for ways to improve build time for my maven build.
I was following this suggestion (Speed up maven) to rename the target folder to a different name and then proceed with the install goal and thus avoid the time it takes to clean.
However…

fergsmyth
- 11
- 1
1
vote
1 answer
Installing and deploying a maven artifact with version constructed by custom properties
I have a Maven project that generates a WAR file and tries to get the artifact version from properties in .properties files that are maintained in the codebase. I also try to form the final name of the WAR file using custom properties.
Snippet :…

Jayadev Jayaraman
- 123
- 1
- 2
- 7
0
votes
1 answer
Maven Install Plugin install:install-file goal to install an artifact without file extension
After a deep research on internet I haven't found the option to install a new artifact into a Maven repository without a file extension.
Up to version 2.5.2 of the Maven Install Plugin it would just get the "packaging" as the artifact file…
0
votes
0 answers
Maven Install Plugin fails: Could not resolve dependencies
I'm trying to install company internal local dependencies into the .m2 repo; with the maven install plugin, before building the ear.
For this example I use org.apache dependencies, so that everyone can rebuild it for testing independently from the…

bepieper
- 1
- 2
0
votes
0 answers
Can i make maven-war-plugin to *only* copy the classes.jar but not the .war into local repo?
OK, so i'm using the maven-war-plugin to build my war, which works fine.
I also have it setup to generate a -classes.jar.
When i run the build, both the war and -classes.jar gets copied into my .m2 repo, which takes up a lot of space.
I would like…

Mathias
- 3,879
- 5
- 36
- 48
0
votes
1 answer
Getting error while install plugins in Jenkins
I was trying to install Jenkins in local and while installing the Plugin such as GIT in Manage Plugin am getting error as following:
"sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested…
0
votes
1 answer
Maven. Exclude some file from uploading to local repository
I am creating an AWS Lambda package using maven-assembly-plugin. It generates several ZIP files in the target directory.
The Maven Plugin maven-install-plugin uploads all the JAR and ZIP files located in target subdirectory every time I deploy the…

30thh
- 10,861
- 6
- 32
- 42
0
votes
0 answers
How to prevent a shaded jar to be installed to the local repository
At the end of my "package" step I end up with 2 jars : the one made by the "maven-jar-plugin" and the uber/fat/shaded one made by "maven-shade-plugin".
myapp.jar and myapp-uber.jar
At the "install" phase both jar are copied to the local repository.…

lvr123
- 524
- 6
- 24
0
votes
0 answers
Intellij maven install with lowest checksum value
I use intellij 2019.3.1 and when I run mvn clean install I want to get latest package version.My problem is I have a maven package which is same version but has different checksum value.When I check I see all these checksum versions downloaded but…

Bilgehan
- 1,135
- 1
- 14
- 41
0
votes
1 answer
Maven multilevel dependencies on other local projects
I have 3 projects in the same directory. Project 1 can run on its own.
Project 2 requires project 1. Project 3 requires project 2 and project 1.
I do not wish to upload the projects to a remote depository. So
Project 1 should build as normal. It…

nsandersen
- 896
- 2
- 16
- 41
0
votes
2 answers
Install modular maven project jars into the parent directory inside the local repository
I have the following project structure:
parent (packing: pom)
+ framework (packing: jar)
+ plugins (packing: pom)
+ plugin_1 (packing: pom)
+ impl (packing: jar)
+ e2e_test (packing: jar)
+ plugin_2…

spiralfuzet
- 75
- 10
0
votes
1 answer
Specify maven install plugin version
I am using maven to build a project which requires java 1.6. But the building process uses maven-install-pluging version 3.0.0-M1 which is not compatible with java 1.6. I have not configured maven-install-plugin version anywhere in the project. How…

Nishantha Pradeep
- 87
- 1
- 1
- 9