[
https://jira.codehaus.org/browse/MINSTALL-110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Johan Ekesparr updated MINSTALL-110:
------------------------------------
Attachment: test-1.0.0.jar
Run install on attached jar file using below command:
mvn org.apache.maven.plugins:maven-install-plugin:2.5.2:install-file
-Dfile=test-1.0.0.jar
This will result in two files in the directory <maven-repos>/test/test/1.0.0/...
named test-1.0.0.jar and test-1.0.0.pom. If you view the content of the
test-1.0.0.pom file you will see that it's a generated generic pom file and not
the one from the jar-file.
> install-file should also install bundled pom.xml from artifact.
> ---------------------------------------------------------------
>
> Key: MINSTALL-110
> URL: https://jira.codehaus.org/browse/MINSTALL-110
> Project: Maven Install Plugin
> Issue Type: Improvement
> Components: install:install-file
> Affects Versions: 2.5.2
> Environment: Windows 7
> Reporter: Johan Ekesparr
> Priority: Minor
> Attachments: test-1.0.0.jar
>
>
> Install:install-file uses the bundled pom.xml in the artifact-file to get the
> *GAV* information for the artifact if no external pom.xml file is referenced.
> The install-file goal should also install the actual pom.xml file at the same
> time. For some reason this is not happening in the current version.
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)