[
https://issues.apache.org/jira/browse/FELIX-2371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Guillaume Nodet resolved FELIX-2371.
------------------------------------
Assignee: Guillaume Nodet
Fix Version/s: karaf-1.6.2
Resolution: Fixed
Committing to https://svn.apache.org/repos/asf/felix/trunk ...
M
karaf/tooling/features-maven-plugin/src/main/java/org/apache/felix/karaf/tooling/features/AddFeaturesToRepoMojo.java
Committed r952619
> features-maven-plugin cannot handle classifiers
> -----------------------------------------------
>
> Key: FELIX-2371
> URL: https://issues.apache.org/jira/browse/FELIX-2371
> Project: Felix
> Issue Type: Bug
> Components: Karaf
> Affects Versions: karaf 1.6.0
> Reporter: Bengt Rodehav
> Assignee: Guillaume Nodet
> Fix For: karaf-1.6.2
>
> 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.
-
You can reply to this email to add a comment to the issue online.