Hi
I am using the buildnumber-maven-plugin to increment the version no.
and my POM looks below.
the version no. is incremented twice.
I am calling the maven tasks in this way each time i build
"mvn validate"
do i need to pass any parameters?
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>1.1</version>
<configuration>
<format>3.1.{0,number}</format>
<items>
<item>buildNumber0</item>
</items>
<doCheck>false</doCheck>
<doUpdate>true</doUpdate>
</configuration>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>create</goal>
</goals>
</execution>
</executions>
</plugin>
Thanks in Advance.
Prashant
--
View this message in context:
http://maven.40175.n5.nabble.com/Build-number-incremented-twice-tp5718627.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]