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 62DA57FC8 for ; Tue, 23 Aug 2011 10:19:23 +0000 (UTC) Received: (qmail 99894 invoked by uid 500); 23 Aug 2011 10:19:20 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 99533 invoked by uid 500); 23 Aug 2011 10:19:11 -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 99517 invoked by uid 99); 23 Aug 2011 10:19:07 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Aug 2011 10:19:07 +0000 Received: from localhost (HELO mail-iy0-f175.google.com) (127.0.0.1) (smtp-auth username olamy, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Aug 2011 10:19:07 +0000 Received: by iyn15 with SMTP id 15so10076448iyn.6 for ; Tue, 23 Aug 2011 03:19:06 -0700 (PDT) Received: by 10.43.51.198 with SMTP id vj6mr3433127icb.162.1314094746348; Tue, 23 Aug 2011 03:19:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.42.117.198 with HTTP; Tue, 23 Aug 2011 03:18:46 -0700 (PDT) In-Reply-To: References: From: Olivier Lamy Date: Tue, 23 Aug 2011 12:18:46 +0200 Message-ID: Subject: Re: [jar-plugin] properties not properly expanded in manifestEntries To: Maven Users List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello, IHMO not possible currently for the archiver, this need some changes in maven-archiver component. Could you open a feature request in http://jira.codehaus.org/browse/MSHARED/ ? . This need to add some interpolation in maven-archiver lib. Thanks --=20 Olivier Lamy Talend : http://talend.com http://twitter.com/olamy | http://linkedin.com/in/olamy 2011/8/22 Simone Tripodi : > Hi all guys, > in my pom I added the buildnumber-plugin and defined a set of > properties which contain: > > =A0 > =A0 =A0... > =A0 =A0yyyy-MM-dd > HH:mm:ssZ > =A0 =A0r${buildNumber}; > ${maven.build.timestamp} > =A0 =A0... > =A0 > > Problem is that when filtering any textual resource, > ${implementation.build} is correctly expanded, i.e. in the README I > put > > =A0 MyCompany ${project.name} (${implementation.build}) > > it is expanded as > > =A0 =A0MyCompany MyProduct (r14934; 2011-08-22 17:23:04+0200) > > But when expanding the same property in the jar plugin: > > =A0 =A0 =A0 > =A0 =A0 =A0 =A0org.apache.maven.plugins > =A0 =A0 =A0 =A0maven-jar-plugin > =A0 =A0 =A0 =A02.3.2 > =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 =A0 =A0 =A0true > =A0 =A0 =A0 =A0 =A0 =A0 =A0true > =A0 =A0 =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 =A0 =A0 =A0${implementation.build}<= /Implementation-Build> > =A0 =A0 =A0 =A0 =A0 =A0 =A0${javac.src.version} > =A0 =A0 =A0 =A0 =A0 =A0 =A0${javac.target.version}<= /X-Compile-Target-JDK> > =A0 =A0 =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 > =A0 =A0 =A0 > > The Implementation-Build entry in the MANIFEST.MF is expanded as > > =A0 =A0Implementation-Build: r${buildNumber}; 2011-08-22 17:23:04+0200 > > Does someone have an idea why? Any suggestion? > Many thanks in advance, all the best!!! > Simo > > http://people.apache.org/~simonetripodi/ > http://www.99soft.org/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > For additional commands, e-mail: users-help@maven.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org