-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Labels
bugSomething isn't workingSomething isn't workingpriority:majorMajor loss of functionMajor loss of function
Description
Franz-Josef Färber opened MINSTALL-198 and commented
I am using the maven install:install-file goal with both cases: Jar-Files containing a pom-file or not, as described in https://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html .
While on the command-line the following works:
mvn install:install-file -Dfile=somefile.jar -DgroupId=somegroup -DartifactId=someartefact -Dversion=1.0.0 -Dpackaging=jar -DgeneratePom=true
mvn install:install-file -Dfile=someotherfile-containing-a-pom-file.jarusing maven-embedder, it does not work: On the second install:install-file goal, the -DgroupId, -Dartifact parameters from the first call are still somehow present and trigger overriding the first Jar file in the local maven repo.
No further details from MINSTALL-198
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingpriority:majorMajor loss of functionMajor loss of function