Hello,
Are you sure that the artifactId is maven-buildnumber-plugin ?
I use buildnumber-maven-plugin
Cheers,
Julien
RockRider a écrit :
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]