[ 
https://issues.apache.org/jira/browse/KARAF-76?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jamie goodyear closed KARAF-76.
-------------------------------


> features-maven-plugin cannot handle classifiers
> -----------------------------------------------
>
>                 Key: KARAF-76
>                 URL: https://issues.apache.org/jira/browse/KARAF-76
>             Project: Karaf
>          Issue Type: Bug
>            Reporter: Bengt Rodehav
>            Assignee: Guillaume Nodet
>             Fix For: 1.6.x
>
>         Attachments: AddFeaturesToRepoMojo.diff
>
>
> features-maven-plugin does not take the classifier into account when 
> resolving the artifact. This is due to an incorrect usage of the  
> ArtifactFactory in the class AddFeaturesToRepoMojo. The call:
>   artifact = this.factory.createArtifact(groupId, artifactId, version, 
> (classifier != null ? classifier : ""), type);
> shall instead be:
>   artifact = this.factory.createArtifactWithClassifier(groupId, artifactId, 
> version, type, classifier);
> Sincel most Karaf feature files are attached to the main artifact using a 
> classifier, the feature files themselves cannot be resolved which makes the 
> plugin impossible to use.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to