[ http://jira.codehaus.org/browse/MSOURCES-10?page=all ]
Vincent Massol closed MSOURCES-10.
----------------------------------
Resolution: Fixed
Closing for now
> Attached source artifact should not be added for artifacts with classifier
> --------------------------------------------------------------------------
>
> Key: MSOURCES-10
> URL: http://jira.codehaus.org/browse/MSOURCES-10
> Project: Maven 2.x Sources Plugin
> Issue Type: Bug
> Affects Versions: 2.0.1
> Reporter: Vincent Massol
> Assigned To: Vincent Massol
> Fix For: 2.0.2
>
>
> If the main artifact has a classifier then we shouldn't attach a source
> artifact to it as Maven2 only allows one classifier. Doing the attachment
> leads to errors such as:
> {noformat}
> [INFO] Installing
> C:\dev\maven\trunks\plugins\maven-clover-plugin\src\it\usertest\target\clover\maven-clover-plugin-sample-usertest-1.0-SNAPSHOT-clover.jar
> to C:\Documents and
> Settings\vmassol\.m2\repository\org\apache\maven\plugins\maven-clover-plugin-sample-usertest\1.0-SNAPSHOT\maven-clover-plugin-sample-usertest-1.0-SNAPSHOT-clover.jar
> [INFO] Installing
> C:\dev\maven\trunks\plugins\maven-clover-plugin\src\it\usertest\target\maven-clover-plugin-sample-usertest-1.0-SNAPSHOT-sources.jar
> to C:\Documents and
> Settings\vmassol\.m2\repository\org\apache\maven\plugins\maven-clover-plugin-sample-usertest\1.0-SNAPSHOT\maven-clover-plugin-sample-usertest-1.0-SNAPSHOT-sources.jar
> [INFO] Installing
> C:\dev\maven\trunks\plugins\maven-clover-plugin\src\it\usertest\target\clover\maven-clover-plugin-sample-usertest-1.0-SNAPSHOT-clover-sources.jar
> to C:\Documents and
> Settings\vmassol\.m2\repository\org\apache\maven\plugins\maven-clover-plugin-sample-usertest\1.0-SNAPSHOT\maven-clover-plugin-sample-usertest-1.0-SNAPSHOT-sources.jar
> {noformat}
> In the last line, notice the double classifier "-clover-sources" and the
> wrong destination "-sources".
--
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