Return-Path: Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: (qmail 12472 invoked from network); 29 Jun 2010 10:18:46 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 29 Jun 2010 10:18:46 -0000 Received: (qmail 84955 invoked by uid 500); 29 Jun 2010 10:18:45 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 84893 invoked by uid 500); 29 Jun 2010 10:18:45 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 84876 invoked by uid 99); 29 Jun 2010 10:18:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jun 2010 10:18:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jun 2010 10:18:42 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o5TAApVm029673 for ; Tue, 29 Jun 2010 10:10:51 GMT Message-ID: <10117644.112411277806251002.JavaMail.jira@thor> Date: Tue, 29 Jun 2010 06:10:51 -0400 (EDT) From: "Guillaume Nodet (JIRA)" To: issues@karaf.apache.org Subject: [jira] Moved: (KARAF-76) features-maven-plugin cannot handle classifiers MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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.