You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@continuum.apache.org by Paola26 <PM...@ymf.com.br> on 2007/10/05 17:19:28 UTC
Problem with Maven in build of Continuum 1.1-beta-3
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
--
View this message in context: http://www.nabble.com/Problem-with-Maven-in--build-of--Continuum-1.1-beta-3-tf4575939.html#a13061606
Sent from the Continuum - Users mailing list archive at Nabble.com.
Re: Problem with Maven in build of Continuum 1.1-beta-3
Posted by Iker Almandoz <ik...@gmail.com>.
Providing the log entry that shows the maven command executed can help
narrow down the problem...
When i had this problem, the maven command showed
INFO | jvm 1 | 2007/09/30 20:27:23 | 2007-09-30 20:27:23,621
[pool-1-thread-1] INFO ShellCommandHelper:default - Executing:
/bin/bash -c 'cd
/usr/local/continuum-1.1-beta-2/apps/continuum/webapp/WEB-INF/working-directory/279
&& /usr/local/bin/mvn --batch-mode --non-recursive -
Dcontinuum.project.lastBuild.state=3 -Dcontinuum.project.nextBuild.number=1"-
Dcontinuum.project.group.name=Aggregators " -
Dcontinuum.project.lastBuild.number=0 clean site site:deploy'
which lead to the deteciton that the group.name had spaces ( "-
Dcontinuum.project.group.name=Aggregators ")
Regards,
Iker
On 10/5/07, Paola26 <PM...@ymf.com.br> wrote:
>
>
> Emamanuel,
> I verify my project and don't find trailing spaces...
> So, the problems are differents.
> Tkanks for you help.
>
> Emmanuel Venisse wrote:
> >
> > 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
> >>
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Problem-with-Maven-in--build-of--Continuum-1.1-beta-3-tf4575939.html#a13063606
> Sent from the Continuum - Users mailing list archive at Nabble.com.
>
>
Re: Problem with Maven in build of Continuum 1.1-beta-3
Posted by Paola26 <PM...@ymf.com.br>.
Emamanuel,
I verify my project and don't find trailing spaces...
So, the problems are differents.
Tkanks for you help.
Emmanuel Venisse wrote:
>
> 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
>>
>
>
>
--
View this message in context: http://www.nabble.com/Problem-with-Maven-in--build-of--Continuum-1.1-beta-3-tf4575939.html#a13063606
Sent from the Continuum - Users mailing list archive at Nabble.com.
Re: Problem with Maven in build of Continuum 1.1-beta-3
Posted by Emmanuel Venisse <em...@venisse.net>.
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
>