Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 44440 invoked from network); 2 Aug 2009 20:55:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Aug 2009 20:55:40 -0000 Received: (qmail 59695 invoked by uid 500); 2 Aug 2009 20:55:44 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 59613 invoked by uid 500); 2 Aug 2009 20:55:44 -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 59603 invoked by uid 99); 2 Aug 2009 20:55:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Aug 2009 20:55: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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Aug 2009 20:55:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C3BA6234C004 for ; Sun, 2 Aug 2009 13:55:14 -0700 (PDT) Message-ID: <1074771909.1249246514787.JavaMail.jira@brutus> Date: Sun, 2 Aug 2009 13:55:14 -0700 (PDT) From: "Tim Moore (JIRA)" To: dev@felix.apache.org Subject: [jira] Commented: (FELIX-1439) maven-bundle-plugin resource filtering does not substitute project.organization.* In-Reply-To: <681157374.1249246154789.JavaMail.jira@brutus> 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/FELIX-1439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12738128#action_12738128 ] Tim Moore commented on FELIX-1439: ---------------------------------- There's a simple work around: in a project's properties section, explicitly redefine these properties: ${project.organization.name} ${project.organization.url} > maven-bundle-plugin resource filtering does not substitute project.organization.* > --------------------------------------------------------------------------------- > > Key: FELIX-1439 > URL: https://issues.apache.org/jira/browse/FELIX-1439 > Project: Felix > Issue Type: Bug > Components: Maven Bundle Plugin > Affects Versions: maven-bundle-plugin-2.0.0 > Reporter: Tim Moore > > We have an XML file in our project's resource directory that contains various Maven properties that are substituted by the maven-bundle-plugin at build time. Most of the properties work (for example, ${pom.name}, ${pom.description}, ${pom.version}) but ${pom.organization.name} and ${pom.organization.url} do not. Changing them to ${project.organization.name} and ${project.organization.url} did not help. > These properties are a little unusual in that they refer to properties of a nested object within the project model, kind of like how project.build works, so they probably have to be special-cased the same way. > I notice that when I run mvn with -X, I see this in the BND Instructions: > [DEBUG] pom.organization: null -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.