I think that you must use maven:set : <maven:set plugin="maven-war-plugin" property="maven.war.final.name" value="${prj.war.name}-${pom.currentVersion}-${timestamp}.war"/>
Arnaud > -----Message d'origine----- > De : Konrad [mailto:[EMAIL PROTECTED] > Envoyé : mardi 20 juillet 2004 17:32 > À : maven > Objet : [.war plugin] maven.war.final.name changed in 1.0 > (from 1.0-rc2)? > > > Hello. > > Just wondering if anything changed with the .war > plugin since 1.0-rc2? In my maven.xml file, I define > the following: > > <preGoal name="java:prepare-filesystem"> > <tstamp> > <format property="timestamp" > pattern="yyyyMMdd-HHmm"/> > </tstamp> > <property name="maven.war.final.name" > value="${prj.war.name}-${pom.currentVersion}-${timestamp}.war"/> > ... > </preGoal> > > > In Maven 1.0-RC2, I would get the following as the > .war name: > > project-1.0-20040720-1029.war > > However, after upgrading to Maven 1.0, the .war name > goes back to the default: > > project.war > > > Any ideas? > > Thanks... > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]