[ https://issues.apache.org/jira/browse/MINSTALL-121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15954171#comment-15954171 ]
Hudson commented on MINSTALL-121: --------------------------------- SUCCESS: Integrated in Jenkins build maven-plugins #8909 (See [https://builds.apache.org/job/maven-plugins/8909/]) [MINSTALL-121] The packaging property should not be used for the file extension (khmarbaise: [http://svn.apache.org/viewvc/?view=rev&rev=1790050]) * (add) maven-install-plugin/src/it/install-file-minstall-121 * (add) maven-install-plugin/src/it/install-file-minstall-121-bundle * (add) maven-install-plugin/src/it/install-file-minstall-121-bundle/invoker.properties * (add) maven-install-plugin/src/it/install-file-minstall-121-bundle/pom.xml * (add) maven-install-plugin/src/it/install-file-minstall-121-bundle/setup.bsh * (add) maven-install-plugin/src/it/install-file-minstall-121-bundle/test-0.1.jar * (add) maven-install-plugin/src/it/install-file-minstall-121-bundle/test-0.1.pom * (add) maven-install-plugin/src/it/install-file-minstall-121-bundle/test.properties * (add) maven-install-plugin/src/it/install-file-minstall-121-bundle/verify.bsh * (add) maven-install-plugin/src/it/install-file-minstall-121-java-source * (add) maven-install-plugin/src/it/install-file-minstall-121-java-source/invoker.properties * (add) maven-install-plugin/src/it/install-file-minstall-121-java-source/pom.xml * (add) maven-install-plugin/src/it/install-file-minstall-121-java-source/setup.bsh * (add) maven-install-plugin/src/it/install-file-minstall-121-java-source/test-0.1.jar * (add) maven-install-plugin/src/it/install-file-minstall-121-java-source/test-0.1.pom * (add) maven-install-plugin/src/it/install-file-minstall-121-java-source/test.properties * (add) maven-install-plugin/src/it/install-file-minstall-121-java-source/verify.bsh * (add) maven-install-plugin/src/it/install-file-minstall-121-maven-archetype * (add) maven-install-plugin/src/it/install-file-minstall-121-maven-archetype/invoker.properties * (add) maven-install-plugin/src/it/install-file-minstall-121-maven-archetype/pom.xml * (add) maven-install-plugin/src/it/install-file-minstall-121-maven-archetype/setup.bsh * (add) maven-install-plugin/src/it/install-file-minstall-121-maven-archetype/test-0.1.jar * (add) maven-install-plugin/src/it/install-file-minstall-121-maven-archetype/test-0.1.pom * (add) maven-install-plugin/src/it/install-file-minstall-121-maven-archetype/test.properties * (add) maven-install-plugin/src/it/install-file-minstall-121-maven-archetype/verify.bsh * (add) maven-install-plugin/src/it/install-file-minstall-121-war * (add) maven-install-plugin/src/it/install-file-minstall-121-war/invoker.properties * (add) maven-install-plugin/src/it/install-file-minstall-121-war/pom.xml * (add) maven-install-plugin/src/it/install-file-minstall-121-war/setup.bsh * (add) maven-install-plugin/src/it/install-file-minstall-121-war/test-0.1.pom * (add) maven-install-plugin/src/it/install-file-minstall-121-war/test-0.1.war * (add) maven-install-plugin/src/it/install-file-minstall-121-war/test.properties * (add) maven-install-plugin/src/it/install-file-minstall-121-war/verify.bsh * (add) maven-install-plugin/src/it/install-file-minstall-121/invoker.properties * (add) maven-install-plugin/src/it/install-file-minstall-121/pom.xml * (add) maven-install-plugin/src/it/install-file-minstall-121/setup.bsh * (add) maven-install-plugin/src/it/install-file-minstall-121/test-0.1.jar * (add) maven-install-plugin/src/it/install-file-minstall-121/test-0.1.pom * (add) maven-install-plugin/src/it/install-file-minstall-121/test.properties * (add) maven-install-plugin/src/it/install-file-minstall-121/verify.bsh * (edit) maven-install-plugin/src/main/java/org/apache/maven/plugins/install/InstallFileMojo.java > The packaging property should not be used for the file extension > ---------------------------------------------------------------- > > Key: MINSTALL-121 > URL: https://issues.apache.org/jira/browse/MINSTALL-121 > Project: Maven Install Plugin > Issue Type: Bug > Components: install:install-file > Affects Versions: 2.5.2 > Reporter: Chris Seieroe > Assignee: Karl Heinz Marbaise > Fix For: 3.0.0 > > > I am using the install-file goal to install some OSGi bundles, Maven plugins, > and Maven archetypes into my local repository. Those types have the following > values for the packaging parameter: > OSGi bundle = bundle > Maven plugin = maven-plugin > Maven archetype = maven-archetype > I'm installing the archetype using the following command: > mvn install:install-file -Dfile=my-archetype-1.0.jar -DgroupId=com.example > -DartifactId=my-archetype -Dversion=1.0 -Dpackaging=maven-archetype > -DgeneratePom=true > That will copy that jar file to: > .m2/repository/com/example/my-archetype/1.0/my-archetype-1.0.maven-archetype > The file extension is wrong, should be jar, but at least the generated pom > has the right packaging value. If I try to use archetype:crawl, it won't find > my archetype because the file extension was not jar. I can change packaging > to jar so the file extension is correct but now the generated pom has the > wrong packaging value. > The install-file goal should preserve the file extension of the original file > and the packaging configuration should only be used for the generated pom. -- This message was sent by Atlassian JIRA (v6.3.15#6346)