continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Venisse" <emmanuel.veni...@gmail.com>
Subject Re: Error when buillding via Continuum
Date Tue, 22 Apr 2008 08:51:56 GMT
It seems you use a shell project instead a maven project in Continuum for
your projects.
The executable must be mvn instead of pom.xml

Emmanuel

On Fri, Apr 18, 2008 at 2:50 PM, Alexandre Nshimiyimana <
alexandre.nsh@gmail.com> wrote:

> Yes, my project use Maven and the pom(s) split in 4 modules.
>
>    > I'm getting this   error when buillding via Continuum:
>    >
>    >  Build Error:
>    >
>
> ****************************************************************************
>    >
>  org.apache.maven.continuum.execution.ContinuumBuildExecutorException:
> Error
>    >  while executing shell command. The most common error is that
> 'pom.xml' is
>    >  not in your path.
>    >     at
>    >
>
> org.apache.maven.continuum.execution.AbstractBuildExecutor.executeShellCommand(AbstractBuildExecutor.java:207)
>    >     at
>    >
>
> org.apache.maven.continuum.execution.shell.ShellBuildExecutor.build(ShellBuildExecutor.java:67)
>    >     at
>    >
>
> org.apache.maven.continuum.core.action.ExecuteBuilderContinuumAction.execute(ExecuteBuilderContinuumAction.java:140)
>    >     at
>    >
>
> org.apache.maven.continuum.buildcontroller.DefaultBuildController.performAction(DefaultBuildController.java:406)
>    >     at
>    >
>
> org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:145)
>    >     at
>    >
>
> org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:50)
>    >     at
>    >
>
> org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
>    >     at
>    >
>
> edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
>    >     at
>    >
>
> edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
>    >     at
>    >
>
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
>    >     at
>    >
>
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
>    >     at java.lang.Thread.run(Thread.java:595)
>    >  Caused by: org.codehaus.plexus.util.cli.CommandLineException: Error
> while
>    >  executing process.
>    >     at
>    >
> org.codehaus.plexus.util.cli.Commandline.execute(Commandline.java:737)
>    >     at
>    >
>
> org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:101)
>    >     at
>    >
>
> org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:87)
>    >     at
>    >
>
> org.apache.maven.continuum.utils.shell.DefaultShellCommandHelper.executeShellCommand(DefaultShellCommandHelper.java:101)
>    >     at
>    >
>
> org.apache.maven.continuum.utils.shell.DefaultShellCommandHelper.executeShellCommand(DefaultShellCommandHelper.java:58)
>    >     at
>    >
>
> org.apache.maven.continuum.execution.AbstractBuildExecutor.executeShellCommand(AbstractBuildExecutor.java:192)
>    >     ... 11 more
>    >  Caused by: java.io.IOException: java.io.IOException:
>    >
> /srv/maestro/project-server/data/continuum/working-directory/2/pom.xml:
>    >  cannot execute
>    >     at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
>    >     at java.lang.ProcessImpl.start(ProcessImpl.java:65)
>    >     at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
>    >     at java.lang.Runtime.exec(Runtime.java:591)
>    >     at
>    >
> org.codehaus.plexus.util.cli.Commandline.execute(Commandline.java:732)
>    >     ... 16 more
>    >
>
>
>
>    --
>    Brett Porter
>    Blog: http://blogs.exist.com/bporter/
>
>    ---------------------------------------------------------------------
>    To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>    For additional commands, e-mail: users-help@maven.apache.org
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message