So I will add check to prevent IndexOutOfBoundsException. But can you try with com.google.code.maven-scm-provider-svnjava.version: 1.13.
2011/4/11 Stevo Slavić <[email protected]>: > Using SVN. Created ticket http://jira.codehaus.org/browse/MOJO-1668 > > Not sure if buildnumber will actually make use of svnjava provider, > configured as dependency. Have svn CLI client available. Worked with > 1.0-beta-4. There were local modifications when 1.0 execution failed, > but it's configured to ignore. > > Regards, > Stevo. > > On Mon, Apr 11, 2011 at 11:08 AM, Olivier Lamy <[email protected]> wrote: >> Hello, >> I should say : arghhh :-) >> >> which scm are you using ? >> >> can you load an issue ? >> >> Thanks, >> -- >> Olivier >> >> 2011/4/11 Stevo Slavić <[email protected]>: >>> 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 >>> >>> >>> >> >> >> >> -- >> Olivier Lamy >> http://twitter.com/olamy >> http://www.linkedin.com/in/olamy >> >> --------------------------------------------------------------------- >> To unsubscribe from this list, please visit: >> >> http://xircles.codehaus.org/manage_email >> >> >> > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > -- Olivier Lamy http://twitter.com/olamy http://www.linkedin.com/in/olamy --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
