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 -- Olivier Lamy Talend : http://talend.com http://twitter.com/olamy | http://linkedin.com/in/olamy 2011/8/22 Simone Tripodi <simonetrip...@apache.org>: > Hi all guys, > in my pom I added the buildnumber-plugin and defined a set of > properties which contain: > > <properties> > ... > <maven.build.timestamp.format>yyyy-MM-dd > HH:mm:ssZ</maven.build.timestamp.format> > <implementation.build>r${buildNumber}; > ${maven.build.timestamp}</implementation.build> > ... > </properties> > > Problem is that when filtering any textual resource, > ${implementation.build} is correctly expanded, i.e. in the README I > put > > MyCompany ${project.name} (${implementation.build}) > > it is expanded as > > MyCompany MyProduct (r14934; 2011-08-22 17:23:04+0200) > > But when expanding the same property in the jar plugin: > > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-jar-plugin</artifactId> > <version>2.3.2</version> > <configuration> > <archive> > <manifest> > > <addDefaultImplementationEntries>true</addDefaultImplementationEntries> > > <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> > </manifest> > <manifestEntries> > > <Implementation-Build>${implementation.build}</Implementation-Build> > <X-Compile-Source-JDK>${javac.src.version}</X-Compile-Source-JDK> > > <X-Compile-Target-JDK>${javac.target.version}</X-Compile-Target-JDK> > </manifestEntries> > </archive> > </configuration> > </plugin> > > The Implementation-Build entry in the MANIFEST.MF is expanded as > > Implementation-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-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org