As that is a Codehaus Mojo plugin, you be more lucky over at the Mojo
users list [1].

/Anders

[1] http://mojo.codehaus.org/buildnumber-maven-plugin/mail-lists.html

On Tue, Aug 28, 2012 at 3:39 PM, Prashant <prashantbhanda...@gmail.com> wrote:
> 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: 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

Reply via email to