Questions tagged [maven-install-plugin]

The Maven Install Plugin is used during the install phase to add artifact(s) to the local repository.

83 questions
1
vote
1 answer

maven-install-plugin does not load local dependency

I'm trying load local dependencies using the Maven maven-install-plugin: org.apache.maven.plugins maven-install-plugin 2.5.2
1
vote
1 answer

maven-shade-plugin output with shadedArtifactAttached false overwritten by install

I am having a problem with deploying jar files created by the maven-shade-plugin. It used to work, but it has stopped working. From my research the problem seems to be that the install step is overwriting the shaded jar. If I use the following…
1
vote
0 answers

Maven plugin runs even if not declared in section

I have a parent pom and under I have a maven-install-plugin like so: parent-project com.abc 1.0-SNAPSHOT pom
superigno
  • 994
  • 2
  • 12
  • 24
1
vote
0 answers

Generate *.pom file into target directory

I would like to deploy couple parent pom's into Nexus. I know about mvn deploy, but I need *.pom files in target/ or somewhere else. Is there a simple solution (maybe maven plugin) to generate a *.pom file in target/ or I need execute mvn install…
jswieca
  • 115
  • 1
  • 2
  • 12
1
vote
1 answer

How to install MWS locally into Spring Boot project managed by Maven?

I am trying to plug MWS libraries into my small Spring Boot application. I tried to find solution into this post. So far, no ideas out of there. Is there are any way I can plugin 3rd party into my pom.xml file and make it easily installable into…
Dmytro Chasovskyi
  • 3,209
  • 4
  • 40
  • 82
1
vote
0 answers

maven cannot find my locally deployed libraries

I have installed the Nexus Repository Manager OSS 3.6.1-02 locally and deployed some 3rd party libraries to a new repository I created - myrepo - by mvn deploy:deploy-file -DgroupId=com.test -DartifactId=testfile -Dversion=1.0.0 -Dpackaging=jar…
jmann
  • 375
  • 1
  • 5
  • 17
1
vote
2 answers

maven: With one pom.xml I am creating jar and tar.gz but don't want to deploy jar

With one pom.xml first I am creating a jar file with maven-jar-plugin and signing it with maven-jarsigner-plugin, second I am creating a tar.gz package with maven-assembly-plugin, copying jar file and other necessary files into tar.gz. Just because…
1
vote
1 answer

Enable maven-install-plugin in Eclipse

I have migrated a maven project to eclipse from netbeans but get this error, Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-install-plugin:2.5:install-file (execution: default, phase: initialize) Can…
PerceptualRobotics
  • 422
  • 1
  • 3
  • 18
1
vote
2 answers

Build Failure when running the Project through maven install

Trying to run Project in Eclipse by Right Click Project>>Run As>>Maven Install I have only 2 Test Cases in my src\\tests folder and both the Test Cases are running Fine. After the Tests got completed, Getting Build Failure in Console. Error:-Failed…
Rodger Nadal
  • 309
  • 2
  • 8
  • 21
1
vote
0 answers

installing a jar with maven-install-plugin to local repo creates pom without dependencies

The jar I'm trying to install was built with maven and contains a complete pom.xml inside META-INF/maven//, including it's dependencies. Eclipse does not resolve/see the transitive dependencies of that jar. I tried to install…
Reto Höhener
  • 5,419
  • 4
  • 39
  • 79
1
vote
1 answer

Using profiles to exclude WAR modules from 'mvn install'

My parent pom defines 7 modules, 5 of which are dependency jars, and two are wars that depend on those jars. Question: Is it possible to use maven profiles (or another solution) to define which modules are included when mvn install is run against…
amphibient
  • 29,770
  • 54
  • 146
  • 240
1
vote
1 answer

How to create a private JAR in a local subdirectory which I have designated as an additional repository?

In a subdirectory under a project, I have a library module of code I write and maintain that must be shared with other modules in the larger project. For convenience, it's developed simultaneously alongside all the modules consuming it. project …
Russ Bateman
  • 18,333
  • 14
  • 49
  • 65
1
vote
1 answer

Maven install changes jar

I use external program,that creates jar. The code for this operation follows: org.apache.maven.plugins maven-antrun-plugin 1.8
Michal
  • 610
  • 10
  • 24
1
vote
1 answer

Force Maven to install both .esb and .jar

I have 2 JBoss Soa-p 5 services. 1st service pom.xml
countryroadscat
  • 1,660
  • 4
  • 26
  • 49
1
vote
1 answer

maven install lifecycle does not execute validate

I have to install a custom jar during build time, I don't have choice to run deploy file to upload custom jar to central nexus. The custom jar, does not have any dependencies and is pretty simple Here is my pom…
Rocky
  • 391
  • 7
  • 20