Hello Codehaus Mojo users,

I Upgraded from 1.0-beta-4 to just released 1.0 version of buildnumber
plugin, and build with plugin configuration [1] which was successful
with 1.0-beta-4 now throws [2].

[1] plugin configuration
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>buildnumber-maven-plugin</artifactId>
        <executions>
          <execution>
            <phase>validate</phase>
            <goals>
              <goal>create</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <doCheck>false</doCheck>
          <doUpdate>false</doUpdate>
          <getRevisionOnlyOnce>true</getRevisionOnlyOnce>
          <providerImplementations>
            <svn>javasvn</svn>
          </providerImplementations>
          <username>foo</username>
          <password>bar</password>
          <timestampFormat>{0,date,yyyyMMdd_HHmmss}</timestampFormat>
        </configuration>
      </plugin>


[2] exception stacktrace
Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
        at java.util.ArrayList.RangeCheck(ArrayList.java:547)
        at java.util.ArrayList.get(ArrayList.java:322)
        at org.codehaus.mojo.build.CreateMojo.getScmBranch(CreateMojo.java:637)
        at org.codehaus.mojo.build.CreateMojo.execute(CreateMojo.java:464)
        at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to