[
https://jira.codehaus.org/browse/MNG-2596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paul Benedict updated MNG-2596:
-------------------------------
Fix Version/s: (was: Issues to be reviewed for 3.x)
> Allow support for multiple classifier for a given artifact
> ----------------------------------------------------------
>
> Key: MNG-2596
> URL: https://jira.codehaus.org/browse/MNG-2596
> Project: Maven
> Issue Type: New Feature
> Components: Artifacts and Repositories
> Affects Versions: 2.0.4
> Reporter: Vincent Massol
>
> Right now Maven 2.0.x only support a single classifier per artifact. There
> are cases where more than 1 classifer would be required. For example the
> Clover plugin modifies the current artifact to add a "clover" classifier.
> However when the source plugin runs it tries to add another classifier
> ("sources") to the artifact. As only one classifier is currently supported
> it's not working (see MSOURCES-10). In the clover plugin code we also have
> things like:
> {code:java}
> // Do not try to find Clovered versions for artifacts with
> classifiers. This is because Maven2 only
> // supports a single classifier per artifact and thus if we replace
> the original classifier with
> // a Clover classifier the artifact will fail to perform properly as
> intended originally. This is a
> // limitation.
> if ( artifact.getClassifier() == null )
> {
> {code}
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)