Add optional 'classifier' for source artifact
---------------------------------------------

                 Key: MSOURCES-50
                 URL: http://jira.codehaus.org/browse/MSOURCES-50
             Project: Maven 2.x Source Plugin
          Issue Type: New Feature
            Reporter: Barry Pitman
         Attachments: classifier.patch

The default classifiers, 'sources' and 'test-sources' are sufficient for most 
cases, but I have come across cases where specifying a different classifier 
could be useful. E.g. when building a skinny war with packaged classes, the 
'sources' artifact is really the source of the (secondary) classes artifact, 
not the primary war artifact. As such, the classifier of the sources should be 
'classes-sources', not 'sources'.

I've attached a basic patch which I am using.  

-- 
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

        

Reply via email to