karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] Moved: (KARAF-76) features-maven-plugin cannot handle classifiers
Date Tue, 29 Jun 2010 10:10:51 GMT

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

Guillaume Nodet moved FELIX-2371 to KARAF-76:
---------------------------------------------

              Project: Karaf  (was: Felix)
                  Key: KARAF-76  (was: FELIX-2371)
    Affects Version/s:     (was: karaf 1.6.0)
          Component/s:     (was: Karaf)
        Fix Version/s: 1.6.2
                           (was: karaf-1.6.2)

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


Mime
View raw message