Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.1
-
Fix Version/s: 2.2
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
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.
Issue Links
- duplicates
-
MINSTALL-24
Unable to install source or javadoc artifacts in local repository
-
I think this issue can be closed. It is working with the current trunk version