[ 
https://issues.apache.org/jira/browse/MINSTALL-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17965865#comment-17965865
 ] 

Olivier Lamy commented on MINSTALL-32:
--------------------------------------

This project has moved from Jira to GitHub Issues. This issue was migrated to 
[apache/maven-install-plugin#144|https://github.com/apache/maven-install-plugin/issues/144].
 

> classifier does not work on install:install-file, default artifact overwritten
> ------------------------------------------------------------------------------
>
>                 Key: MINSTALL-32
>                 URL: https://issues.apache.org/jira/browse/MINSTALL-32
>             Project: Maven Install Plugin (Moved to GitHub Issues)
>          Issue Type: Bug
>    Affects Versions: 2.1
>            Reporter: simon.g
>            Priority: Major
>             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 was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to