Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 1176 invoked from network); 2 Feb 2011 17:37:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Feb 2011 17:37:57 -0000 Received: (qmail 88569 invoked by uid 500); 2 Feb 2011 17:37:56 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 87829 invoked by uid 500); 2 Feb 2011 17:37:54 -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 87321 invoked by uid 99); 2 Feb 2011 17:37:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 17:37:53 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 17:37:50 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id EC78A18A826 for ; Wed, 2 Feb 2011 17:37:29 +0000 (UTC) Date: Wed, 2 Feb 2011 17:37:29 +0000 (UTC) From: "Alasdair Nottingham (JIRA)" To: dev@felix.apache.org Message-ID: <27107164.5539.1296668249964.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Created: (FELIX-2819) packageinfo files in src/main/java are ignored 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 packageinfo files in src/main/java are ignored ---------------------------------------------- Key: FELIX-2819 URL: https://issues.apache.org/jira/browse/FELIX-2819 Project: Felix Issue Type: Bug Components: Maven Bundle Plugin Reporter: Alasdair Nottingham The bnd tool can pick up the package version from a packageinfo file if it is stored next to the java files. The maven-bundle-plugin will only include them in the jar, and make them visible to bnd if they are in the src/main/resources directory. I would like to use these files for specifying versions, rather than putting it in the pom. This allows me to specify the version once in this file even if it is repackaged in a different jar later. The problem is I have to put the files into src/main/resources which significantly reduces the chance of updating them when a change is made. Could the maven-bundle-plugin be updated to put the packageinfo files from src/main/java into the jar before calling bnd? Thanks Alasdair -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira