You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@continuum.apache.org by Barrie Treloar <ba...@gmail.com> on 2006/08/31 01:40:40 UTC
[1.0.3] NoSuchMethodError: org.codehaus.plexus.util.cli.Commandline.setPid during build
I am on a Windows XP machine and running build.bat.
Has anyone else seen this error before?
2006-08-31 08:55:49,497 [Thread-2] ERROR Action:execute-builder
- Error running build
java.lang.NoSuchMethodError: org.codehaus.plexus.util.cli.Commandline.setPid(J)V
at org.apache.maven.continuum.utils.shell.DefaultShellCommandHelper.executeShellCommand(DefaultShellCommandHelper.java:64)
at org.apache.maven.continuum.utils.shell.DefaultShellCommandHelper.executeShellCommand(DefaultShellCommandHelper.java:51)
at org.apache.maven.continuum.execution.AbstractBuildExecutor.executeShellCommand(AbstractBuildExecutor.java:186)
at org.apache.maven.continuum.execution.maven.m2.MavenTwoBuildExecutor.build(MavenTwoBuildExecutor.java:98)
at org.apache.maven.continuum.core.action.ExecuteBuilderContinuumAction.execute(ExecuteBuilderContinuumAction.java:127)
at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:275)
at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:47)
at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103)
at java.lang.Thread.run(Thread.java:534)
Re: [1.0.3] NoSuchMethodError: org.codehaus.plexus.util.cli.Commandline.setPid during build
Posted by Brett Porter <br...@apache.org>.
Seems like you are picking up an old version of plexus-utils somewhere.
- Brett
On 31/08/2006, at 9:40 AM, Barrie Treloar wrote:
> I am on a Windows XP machine and running build.bat.
> Has anyone else seen this error before?
>
> 2006-08-31 08:55:49,497 [Thread-2] ERROR Action:execute-builder
> - Error running build
> java.lang.NoSuchMethodError:
> org.codehaus.plexus.util.cli.Commandline.setPid(J)V
> at
> org.apache.maven.continuum.utils.shell.DefaultShellCommandHelper.execu
> teShellCommand(DefaultShellCommandHelper.java:64)
> at
> org.apache.maven.continuum.utils.shell.DefaultShellCommandHelper.execu
> teShellCommand(DefaultShellCommandHelper.java:51)
> at
> org.apache.maven.continuum.execution.AbstractBuildExecutor.executeShel
> lCommand(AbstractBuildExecutor.java:186)
> at
> org.apache.maven.continuum.execution.maven.m2.MavenTwoBuildExecutor.bu
> ild(MavenTwoBuildExecutor.java:98)
> at
> org.apache.maven.continuum.core.action.ExecuteBuilderContinuumAction.e
> xecute(ExecuteBuilderContinuumAction.java:127)
> at
> org.apache.maven.continuum.buildcontroller.DefaultBuildController.buil
> d(DefaultBuildController.java:275)
> at
> org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.ex
> ecuteTask(BuildProjectTaskExecutor.java:47)
> at
> org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor
> $ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103)
> at java.lang.Thread.run(Thread.java:534)
Re: [1.0.3] NoSuchMethodError: org.codehaus.plexus.util.cli.Commandline.setPid
during build
Posted by Emmanuel Venisse <em...@venisse.net>.
What is the output of mvn -X clean install?
Emmanuel
Barrie Treloar a écrit :
> I am on a Windows XP machine and running build.bat.
> Has anyone else seen this error before?
>
> 2006-08-31 08:55:49,497 [Thread-2] ERROR Action:execute-builder
> - Error running build
> java.lang.NoSuchMethodError:
> org.codehaus.plexus.util.cli.Commandline.setPid(J)V
> at
> org.apache.maven.continuum.utils.shell.DefaultShellCommandHelper.executeShellCommand(DefaultShellCommandHelper.java:64)
>
> at
> org.apache.maven.continuum.utils.shell.DefaultShellCommandHelper.executeShellCommand(DefaultShellCommandHelper.java:51)
>
> at
> org.apache.maven.continuum.execution.AbstractBuildExecutor.executeShellCommand(AbstractBuildExecutor.java:186)
>
> at
> org.apache.maven.continuum.execution.maven.m2.MavenTwoBuildExecutor.build(MavenTwoBuildExecutor.java:98)
>
> at
> org.apache.maven.continuum.core.action.ExecuteBuilderContinuumAction.execute(ExecuteBuilderContinuumAction.java:127)
>
> at
> org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:275)
>
> at
> org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:47)
>
> at
> org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103)
>
> at java.lang.Thread.run(Thread.java:534)
>
>
>
Re: [repost] Re: [1.0.3] NoSuchMethodError:
org.codehaus.plexus.util.cli.Commandline.setPid during build
Posted by Kenney Westerhof <ke...@apache.org>.
I just fixed it in svn. It seems some older version of plexus-utils is brought in in continuum-webapp,
instead of the one defined in continuum-core.
-- Kenney
Emmanuel Venisse wrote:
> It build fine for me on Windows XP.
>
> Send us the output of mvn -X clean install
>
> What do you build 1.0.3 or 1.1?
>
> Emmanuel
>
> Barrie Treloar a écrit :
>> The list is rather quiet...
>> Am I missing some documentation on the steps to build on a Windows XP
>> machine?
>> Has anyone else successfully built on a Windows machine?
>>
>> Thanks
>>
>> On 8/31/06, Barrie Treloar <ba...@gmail.com> wrote:
>>> I am on a Windows XP machine and running build.bat.
>>> Has anyone else seen this error before?
>>>
>>> 2006-08-31 08:55:49,497 [Thread-2] ERROR Action:execute-builder
>>> - Error running build
>>> java.lang.NoSuchMethodError:
>>> org.codehaus.plexus.util.cli.Commandline.setPid(J)V
>>> at
>>> org.apache.maven.continuum.utils.shell.DefaultShellCommandHelper.executeShellCommand(DefaultShellCommandHelper.java:64)
>>>
>>> at
>>> org.apache.maven.continuum.utils.shell.DefaultShellCommandHelper.executeShellCommand(DefaultShellCommandHelper.java:51)
>>>
>>> at
>>> org.apache.maven.continuum.execution.AbstractBuildExecutor.executeShellCommand(AbstractBuildExecutor.java:186)
>>>
>>> at
>>> org.apache.maven.continuum.execution.maven.m2.MavenTwoBuildExecutor.build(MavenTwoBuildExecutor.java:98)
>>>
>>> at
>>> org.apache.maven.continuum.core.action.ExecuteBuilderContinuumAction.execute(ExecuteBuilderContinuumAction.java:127)
>>>
>>> at
>>> org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:275)
>>>
>>> at
>>> org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:47)
>>>
>>> at
>>> org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103)
>>>
>>> at java.lang.Thread.run(Thread.java:534)
>>>
>>
>>
>>
Re: [repost] Re: [1.0.3] NoSuchMethodError: org.codehaus.plexus.util.cli.Commandline.setPid
during build
Posted by Emmanuel Venisse <em...@venisse.net>.
It build fine for me on Windows XP.
Send us the output of mvn -X clean install
What do you build 1.0.3 or 1.1?
Emmanuel
Barrie Treloar a écrit :
> The list is rather quiet...
> Am I missing some documentation on the steps to build on a Windows XP
> machine?
> Has anyone else successfully built on a Windows machine?
>
> Thanks
>
> On 8/31/06, Barrie Treloar <ba...@gmail.com> wrote:
>> I am on a Windows XP machine and running build.bat.
>> Has anyone else seen this error before?
>>
>> 2006-08-31 08:55:49,497 [Thread-2] ERROR Action:execute-builder
>> - Error running build
>> java.lang.NoSuchMethodError:
>> org.codehaus.plexus.util.cli.Commandline.setPid(J)V
>> at
>> org.apache.maven.continuum.utils.shell.DefaultShellCommandHelper.executeShellCommand(DefaultShellCommandHelper.java:64)
>>
>> at
>> org.apache.maven.continuum.utils.shell.DefaultShellCommandHelper.executeShellCommand(DefaultShellCommandHelper.java:51)
>>
>> at
>> org.apache.maven.continuum.execution.AbstractBuildExecutor.executeShellCommand(AbstractBuildExecutor.java:186)
>>
>> at
>> org.apache.maven.continuum.execution.maven.m2.MavenTwoBuildExecutor.build(MavenTwoBuildExecutor.java:98)
>>
>> at
>> org.apache.maven.continuum.core.action.ExecuteBuilderContinuumAction.execute(ExecuteBuilderContinuumAction.java:127)
>>
>> at
>> org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:275)
>>
>> at
>> org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:47)
>>
>> at
>> org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103)
>>
>> at java.lang.Thread.run(Thread.java:534)
>>
>
>
>
Re: [repost] Re: [1.0.3] NoSuchMethodError: org.codehaus.plexus.util.cli.Commandline.setPid during build
Posted by Barrie Treloar <ba...@gmail.com>.
Oops, attachment too large.
I also notice this in the output:
[DEBUG] Artifact not found - using stub model: Unable to download the
artifact from any repository
org.codehaus.plexus:plexus-appserver:pom:1.0-alpha-5-SNAPSHOT
Which I think is related to
http://www.nabble.com/forum/ViewPost.jtp?post=4505897&framed=y when
the codehaus box went boom.
Here are the snapshot repos I am checking:
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
apache.snapshots (http://cvs.apache.org/repository),
snapshots (http://snapshots.maven.codehaus.org/maven2)
Am I missing any?
I might try building 1.0-TRUNK.
On 9/21/06, Barrie Treloar <ba...@gmail.com> wrote:
> On 9/5/06, Barrie Treloar <ba...@gmail.com> wrote:
> > The list is rather quiet...
> > Am I missing some documentation on the steps to build on a Windows XP machine?
> > Has anyone else successfully built on a Windows machine?
>
> Sorry for a) reposting and b) not responding.
> For some reason I think I have been unsubcribed from continuum-dev. I
> wondered why the list was so quiet. Checking nabble I can see people
> have responded...
>
> The output from mvn -X clean install is as attached.
>
> Since it has been so long since I tried this I am not sure whether I
> got past the setPid problem. However that appears to no longer be the
> problem I am getting.
>
> Now it is:
>
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] One or more required plugin parameters are invalid/missing for
> 'plexus:runtime'
>
> [0] inside the definition for plugin: 'plexus-maven-plugin'specify the
> following:
>
> <configuration>
> ...
> <runtimeConfigurationProperties>VALUE</runtimeConfigurationProperties>
> </configuration>
>
> -OR-
>
> on the command line, specify: '-DappProperties=VALUE'
>
>
> Which I can see an email at
> http://www.nabble.com/forum/ViewPost.jtp?post=3612509&framed=y
>
> Cheers
>
>
>
[repost] Re: [1.0.3] NoSuchMethodError: org.codehaus.plexus.util.cli.Commandline.setPid during build
Posted by Barrie Treloar <ba...@gmail.com>.
The list is rather quiet...
Am I missing some documentation on the steps to build on a Windows XP machine?
Has anyone else successfully built on a Windows machine?
Thanks
On 8/31/06, Barrie Treloar <ba...@gmail.com> wrote:
> I am on a Windows XP machine and running build.bat.
> Has anyone else seen this error before?
>
> 2006-08-31 08:55:49,497 [Thread-2] ERROR Action:execute-builder
> - Error running build
> java.lang.NoSuchMethodError: org.codehaus.plexus.util.cli.Commandline.setPid(J)V
> at org.apache.maven.continuum.utils.shell.DefaultShellCommandHelper.executeShellCommand(DefaultShellCommandHelper.java:64)
> at org.apache.maven.continuum.utils.shell.DefaultShellCommandHelper.executeShellCommand(DefaultShellCommandHelper.java:51)
> at org.apache.maven.continuum.execution.AbstractBuildExecutor.executeShellCommand(AbstractBuildExecutor.java:186)
> at org.apache.maven.continuum.execution.maven.m2.MavenTwoBuildExecutor.build(MavenTwoBuildExecutor.java:98)
> at org.apache.maven.continuum.core.action.ExecuteBuilderContinuumAction.execute(ExecuteBuilderContinuumAction.java:127)
> at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:275)
> at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:47)
> at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103)
> at java.lang.Thread.run(Thread.java:534)
>