Also I am not able to access the timestamp of the build, using the
${timestamp} as in
http://mojo.codehaus.org/buildnumber-maven-plugin/create-mojo.htmlRockRider wrote: > > Hi > > I am trying to use this plugin in my pom > http://mojo.codehaus.org/buildnumber-maven-plugin/index.html > > My pom is as follows: > <plugin> > > <groupId>org.codehaus.mojo</groupId> > > <artifactId>maven-buildnumber-plugin</artifactId> > > <executions> > > <execution> > > <phase>validate</phase> > > <goals> > > <goal>create</goal> > > </goals> > > </execution> > > </executions> > > <configuration> > > <doCheck>false</doCheck> > > <doUpdate>false</doUpdate> > > <format>{0,date,yyyy-MM-dd HH:mm:ss}</format> > > <items> > > <item>timestamp</item> > > </items> > > </configuration> > > </plugin> > > ... > > ... > > <build> > > <finalName>${project.artifactId}-${project.version}-r${buildNumber}</finalName> > > ... > </build> > > But I am getting this error: > org.apache.maven.reactor.MavenExecutionException: Parse error reading POM. > Reason: Unrecognised tag: 'executions' (position: START_TAG seen > ...</artifactId>\n\t\t <executions>... @652:16) for project unknown at > /home/mig/cruisecontrol/cduweb/checkout/xxxWeb/pom.xml > > -- View this message in context: http://www.nabble.com/***-Parse-error-reading-POM-***-tp17019499s177p17019599.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
