Return-Path: Delivered-To: apmail-aries-dev-archive@www.apache.org Received: (qmail 51635 invoked from network); 4 Feb 2011 21:34:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Feb 2011 21:34:13 -0000 Received: (qmail 2376 invoked by uid 500); 4 Feb 2011 21:34:13 -0000 Delivered-To: apmail-aries-dev-archive@aries.apache.org Received: (qmail 2305 invoked by uid 500); 4 Feb 2011 21:34:13 -0000 Mailing-List: contact dev-help@aries.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aries.apache.org Delivered-To: mailing list dev@aries.apache.org Received: (qmail 2297 invoked by uid 99); 4 Feb 2011 21:34:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Feb 2011 21:34:12 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of alasdair.nottingham@gmail.com designates 209.85.216.178 as permitted sender) Received: from [209.85.216.178] (HELO mail-qy0-f178.google.com) (209.85.216.178) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Feb 2011 21:34:05 +0000 Received: by qyk33 with SMTP id 33so2240756qyk.2 for ; Fri, 04 Feb 2011 13:33:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:date:x-google-sender-auth :message-id:subject:from:to:content-type; bh=KRBqp7buTVTOGm7JjdwpcVZhqx27tAwzGZAEC4Px6R8=; b=NFt7YY/6A0rVyKDc2925MpisoY8C/emMib7mOFWSFHn6qxw40s4KQE6wSsUljoFgGk YUXsYxC+0cGMCARDL2XXtSyU04IEI4UGPZqcFKhnb7SBQsTIF6oRjYjeLT0K4D7gvZl0 YKv1RW4pGL58bmkvtdjJdC08sAajsFF0Py/EM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=iEwnqcd9qn0qaihMwbauGAx0yJK3r14I/rLWNDk2AntcyIYew+2TIp8wP8iSzOzRoa j/ErQi113gZQgOi7g8PfDiT5l8v94PISxs1XbRVvLEIw8P1lYU/kMd61UOApGnYVJ4Qv Y9N0T0nreeuoErWM1b2dQgfYkCuobpFsXikGs= MIME-Version: 1.0 Received: by 10.224.19.199 with SMTP id c7mr11608649qab.140.1296855224078; Fri, 04 Feb 2011 13:33:44 -0800 (PST) Sender: alasdair.nottingham@gmail.com Received: by 10.229.121.5 with HTTP; Fri, 4 Feb 2011 13:33:44 -0800 (PST) Date: Fri, 4 Feb 2011 21:33:44 +0000 X-Google-Sender-Auth: C0uwPOdp4i0PPtLyk93cA2cXKQA Message-ID: Subject: [DISCUSSION] Using packageinfo to set package versions From: Alasdair Nottingham To: dev@aries.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi, Currently we specify versions of exported packages in the pom. This is not ideal as it means whenever anyone makes a change in a package they have to edit the pom, also you need to sync the version correctly between the bundles and the uber bundles. bnd supports the packageinfo files (and also annotations in package-info.java), but those are not currently picked up and used in our build. I raise FELIX-2819 and a workaround has been suggested, which I managed to get working. The fix would be to add the following to the default-pom and get the modules to use the updated parent: ${project.build.sourceDirectory} **/packageinfo Thoughts? Alasdair -- Alasdair Nottingham not@apache.org