[
https://issues.apache.org/jira/browse/MSOURCES-50?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17959423#comment-17959423
]
Matthias Bünger commented on MSOURCES-50:
-----------------------------------------
This project has moved from Jira to GitHub Issues. This issue was migrated to
[apache/maven-source-plugin#126|https://github.com/apache/maven-source-plugin/issues/126].
> Add optional 'classifier' for source artifact
> ---------------------------------------------
>
> Key: MSOURCES-50
> URL: https://issues.apache.org/jira/browse/MSOURCES-50
> Project: Maven Source Plugin (Moved to GitHub Issues)
> Issue Type: New Feature
> Reporter: Barry Pitman
> Assignee: Olivier Lamy
> Priority: Major
> Fix For: 2.2
>
> 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 was sent by Atlassian Jira
(v8.20.10#820010)