I don't know if it is related but, check if your project group name have a
trailing space:
http://www.nabble.com/Error-when-project-group-has-trailing-spaces..-t4549392.html
Emmanuel
Paola26 a écrit :
Hi,
I work with continuum, i have two differents versions installed in the
same
server, one is Continuum 1.0.3 this work in port 8080 , the other is
Continuum 1.1-Beta-3, for both working with maven 2.0.7, and make build the
same project.
With Continuum 1.0.3, i don't have a problem, the build made whith
sucessful always, however with Continuum1.1-beta-3, the build is broken, the
continuum 1.1-beta-3 send a error mensage about this : constituent[0]:
file:/usr/local/maven-2.0.7/lib/maven-core-2.0.7-uber.jar , I ckeck my
maven installation and this package exist, and build with continuum 1.0.3
I don't understand very good this mensage, please i need help, because I
intent change my continuum.
This error mensage is in attachement.:
---------------------------------------------------
constituent[0]: file:/usr/local/maven-2.0.7/lib/maven-core-2.0.7-uber.jar
---------------------------------------------------
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at
java.lang.AbstractStringBuilder.setLength(AbstractStringBuilder.java:146)
at java.lang.StringBuffer.setLength(StringBuffer.java:154)
at org.apache.maven.cli.MavenCli$CLIManager.cleanArgs(MavenCli.java:796)
at org.apache.maven.cli.MavenCli$CLIManager.parse(MavenCli.java:749)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:98)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Tks,
Rgs