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
0
votes
1 answer
Maven install plugin not found
I have to add some .pom files to the local .m2 repository and I am working on an offline system.
After successfully installing maven (checked with mvn -v) i tried to install the desired files using mvn install:install-file…

Scoch
- 11
- 2
0
votes
1 answer
mvn clean Vs mvn clean install
I have some third-party jar dependency. So, I have used maven-install-plugin to install these third party jar to my local repository(.m2/repository). This plugin is bound to clean phase. When i do "mvn clean install", before running clean , its…

Madhav Kumar Jha
- 353
- 1
- 2
- 13
0
votes
1 answer
maven -P option not working with mvn clean install
When I try to build the project using
mvn clean package -P dev, it activates the dev profile and performs the build. But when I try with mvn clean install -P dev, it builds all the profiles.
I have more than one profiles in my pom.xml.
…

indranil9286
- 81
- 2
- 10
0
votes
2 answers
Local non maven jar is searching on maven server. Why?
[ERROR] Failed to execute goal on project portal: Could not resolve dependencies for project com.learning:portal:war:1.0.0-SNAPSHOT: Could not find artifact com.myapp.Local-2017:jar:1.0 in central (https://repo.maven.apache.org/maven2)
In…
0
votes
0 answers
Maven repository with a JAR and native dll's
I am writing a maven plugin to control another java program (jar). This jar needs two dlls in the same directory. I would like to install the jar and this two dlls as a maven repo into local .m2 dir or a maven repository server.
I have used…

Pace17881
- 91
- 7
0
votes
0 answers
maven-install-plugin - push custom existing 3rd party jar to repository as it is
I have custom library which I want to push to my local repository using maven install plugin. I want maven-install-plugin to push this .jar - just as if I would use this command:
mvn install:install-file -Dfile=custom.jar -DgroupId=test…

Andrey Yaskulsky
- 2,458
- 9
- 39
- 81
0
votes
1 answer
Maven install-plugin does not use versions-plugin updated version
I use the versions-maven-plugin to update the projects version. I want to install the artifact with this updated version but the maven-install plugin uses the old version. How do I have to configure the project to achieve the described…

desert
- 11
- 4
0
votes
1 answer
'mvn clean install': why does 'clean' run after 'install'?
If I run
mvn clean install why does maven do the clean after the install?
The reason I ask is because I want to grab the generated EAR from the workspace and not the repo location after jenkins has called maven
Here's a section of the console…

Mark W
- 5,824
- 15
- 59
- 97
0
votes
1 answer
Plugin org.apache.maven.plugins:maven-install-plugin:2.2 or one of its dependencies could not be resolved: Failure to find
I am trying to upload my artifacts to Nexus repository using Jenkins job. I have configured pom.xml and settings.xml for Maven. Below is the error I am getting after executing the job as per goal deploy, i.e. mvn deploy:
Executing Maven: -B -f
…

ARYAN SHARMA
- 31
- 1
- 4
0
votes
1 answer
How to use maven-install-plugin to install-file for module
With this projects structure I cannot install the sqljdbc4.jar to my local maven repository.
This is LiferayBuild/pom.xml

rom12three
- 11
- 1
- 3
0
votes
1 answer
Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default) on project dukes-store
I want setup duke forest application on glassfish so for that i used the javaee 7 sdk and after that while performing maven install from command line it gives following errors
[INFO]…

Yogesh Doke
- 1,706
- 2
- 12
- 20
0
votes
2 answers
how to add external library (jar) + sources (zip) to pom.xml using maven-install-plugin?
i found an good article on the internet that shows me how to add a jar library to my maven (eclipse) project, using "maven-install-plugin". i used this and managedd it to have the ucanaccess 3.0.1 library added to my maven project.
however, the…

Axel Werner
- 186
- 1
- 17
0
votes
1 answer
How to install only pom with Maven install-plugin with minimal configuration
I am using the Maven (2.2.1) install-plugin (2.5.2) to install third party dependencies not available in the repository.
When the dependency has both a jar and a pom, install-plugin reads the pom file and sets the packaging, groupId, artifactId, and…

Aurifier
- 197
- 2
- 9
0
votes
1 answer
maven install "install" plugin totally offline
I'm absolutely behind corporate firewall on my working place, so I need to fill my local repository. But I'm not able to do it as I'm missing even the "install" plugin itself. How can I resolve this problem? Thanks!

m.g.klyuev
- 11
- 2
0
votes
1 answer
How to install specific plugin in eclipse?
I want to install specific plugin of specific version in eclipse. Well, any version above a certain version (Ex: any version above 2.1.1)
Is it possible to achieve this in eclipse? Is there a way to do this from command line? Like using…

Destructor
- 3,154
- 7
- 32
- 51