[ http://jira.codehaus.org/browse/MINSTALL-32?page=comments#action_80764 ] Mike Whittemore commented on MINSTALL-32: -----------------------------------------
I believe it is a dup of MINSTALL-24, which is reported as fixed in version 2.2 of the install plugin. > 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 > > 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