[ http://jira.codehaus.org/browse/MINSTALL-32?page=all ]
Wendy Smoak closed MINSTALL-32.
-------------------------------
Resolution: Fixed
Fix Version/s: 2.2
Closing as a duplicate of MINSTALL-24, which is fixed in v2.2 (unreleased).
> classifier does not work on install:install-file, default artifact overwritten
> ------------------------------------------------------------------------------
>
> Key: MINSTALL-32
> URL: http://jira.codehaus.org/browse/MINSTALL-32
> Project: Maven 2.x Install Plugin
> Issue Type: Bug
> Affects Versions: 2.1
> Reporter: Simon Gunzenreiner
> Fix For: 2.2
>
>
> It would be very useful to be able to use the a -Dclassifer argument to the
> install:install-file plugin. Although the documentation does not mention that
> the use of "classifier" is supported, the InstallFileMojo let's assume so -
> because it uses the "classifier".
> Still though if install:insta--file is used in the following way:
> mvn install:install-file -DgeneratePom=true -Dpackaging=jar
> -DgroupId=myGroupId -Dversion=myVersino -DartifactId=myArtifactId
> -Dclassifier=sources -Dfile=myArtifactId-myVersion-sources.jar
> the default (jar) artifact is replaced with the sources artifact in the
> repository.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira