Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 30002 invoked from network); 28 Dec 2008 00:39:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Dec 2008 00:39:06 -0000 Received: (qmail 20790 invoked by uid 500); 28 Dec 2008 00:39:05 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 20747 invoked by uid 500); 28 Dec 2008 00:39:05 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 20736 invoked by uid 99); 28 Dec 2008 00:39:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Dec 2008 16:39:05 -0800 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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Dec 2008 00:39:04 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 34C93234C478 for ; Sat, 27 Dec 2008 16:38:44 -0800 (PST) Message-ID: <1502027904.1230424724201.JavaMail.jira@brutus> Date: Sat, 27 Dec 2008 16:38:44 -0800 (PST) From: "Jan-David Salchow (JIRA)" To: dev@felix.apache.org Subject: [jira] Created: (FELIX-864) A wrong symbolic name is calculated if artifactId starts with lastGroupIdSegment-. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org A wrong symbolic name is calculated if artifactId starts with lastGroupIdSegment-. ---------------------------------------------------------------------------------- Key: FELIX-864 URL: https://issues.apache.org/jira/browse/FELIX-864 Project: Felix Issue Type: Bug Components: Maven Bundle Plugin Affects Versions: maven-bundle-plugin-1.4.3 Reporter: Jan-David Salchow If the symbolic of a bundle is calculated wrong if the artifact id starts with the last segment of the group id. In this case bundle:manifest generates the correct symbolic name but bundle:bundle an package (packaging bundle) fail to remove the first part of the artifact id. This is due to a bug in the maven shared osgi component which assumes, that artifact.getFile() returns a jar file, not a directory if artifact.getFile() != null and arifact.getFile().exists evaluate to true. In the supplied test project mvn bundle:manifest generates the symbolic name my.test.artifact and mvn package generates my.test.test.artifact. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.