Hello, I probably found the cause: in our Jenkins instance we had set MAVEN_OPTS="....-Ddependency.locations.enabled=false". This caused no problems during normal SNAPSHOT runs but we could not get the release-plugin working. Nothing was seen even with "-X", release.properties is not even started. Removing the property above from MAVEN_OPTS solved the proplem. I am not sure whether and where to create an issue for this (maybe it just works as intended :-)).
Regards Mirko Regards Mirko -- http://illegalstateexception.blogspot.com/ https://github.com/mfriedenhagen/ https://bitbucket.org/mfriedenhagen/ On Fri, Jan 18, 2013 at 5:13 PM, Wayne Fay <wayne...@gmail.com> wrote: > Looks like a section of code that could benefit from some debug-level > logging. Then OP could just turn on -X and send us more useful output. > > Wayne > > On Fri, Jan 18, 2013 at 8:26 AM, Robert Scholte <rfscho...@apache.org> > wrote: > > > http://maven.apache.org/maven-release/maven-release-manager/xref/org/apache/maven/shared/release/config/ReleaseUtils.html#256 > > > > I'm interested in your release.properties as well. > > It looks like there's a property starting with 'dependency.' which > doesn't > > end with '.development' or '.release' > > This should not be possible. > > > > thanks, > > Robert > > > > Op Fri, 18 Jan 2013 09:11:39 +0100 schreef <thorsten.h...@vkb.de>: > > > > > >> Hi, > >> > >>> maven-release-plugin:2.4:prepare failed: String index out of range: -12 > >>> > >>> at org.apache.maven.lifecycle.internal.MojoExecutor.execute > >>> (MojoExecutor.java:225) > >> > >> > >> *snip* > >> > >> Have you tried running "mvn -e -X ..."? > >> Perhaps there's something missing in your pom.xml, such as an invalid > >> property that is referenced somewhere, an empty or missing plugin > >> configuration section etc.pp. > >> > >> > >> HTH > >> > >> Thorsten > > > > > > --------------------------------------------------------------------- > > 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 > >