Return-Path: X-Original-To: apmail-maven-users-archive@www.apache.org Delivered-To: apmail-maven-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 00D4346B7 for ; Fri, 1 Jul 2011 08:28:02 +0000 (UTC) Received: (qmail 39187 invoked by uid 500); 1 Jul 2011 08:27:45 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 38827 invoked by uid 500); 1 Jul 2011 08:27:21 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 38797 invoked by uid 99); 1 Jul 2011 08:27:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jul 2011 08:27:15 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jul 2011 08:27:10 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1QcZ3p-0000U8-63 for users@maven.apache.org; Fri, 01 Jul 2011 01:26:49 -0700 Date: Fri, 1 Jul 2011 01:26:49 -0700 (PDT) From: Wurzelbert To: users@maven.apache.org Message-ID: <1309508809181-4541357.post@n5.nabble.com> Subject: buildnumber-maven-plugin and service mix bundle MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, I'm pretty new to SMX with maven and have a problem with the buildnumber plugin in combination with osgi bundling. My pom contains: --- org.apache.servicemix.features features 4.3.0 ... bundle 1.0.${buildNumber} ... org.codehaus.mojo buildnumber-maven-plugin 1.0 validate create false true true While building the bundle I see in the console: [INFO] Storing buildNumber: 54 at timestamp: 1309442078694 so the plugins is getting the version number correctly but my jar file has still the "${buildNumber}" thing in its name ... I've been playing around with goals and phases without success. I've also changed the packaging to jar and then it's working !!! but it isn't an installable bundle for smx... The param -DbuildNumber=123 is working too. What is the problem? Please help me ! -- View this message in context: http://maven.40175.n5.nabble.com/buildnumber-maven-plugin-and-service-mix-bundle-tp4541357p4541357.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org