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 Wed, 23 Apr 2008 14:26:28 GMT
pom.xml isn't a shell executable. mvn is a shell executable

Emmanuel

On Wed, Apr 23, 2008 at 2:24 PM, Alexandre Nshimiyimana <
alexandre.nsh@gmail.com> wrote:

> Hello,
> I' still have error.
>
> I have mvn multimodule project.
> My  continuum configutation is :
>
>  Project Group Summary<
> http://maven.supdev.msp.gouv.qc.ca:8080/continuum/projectGroupSummary.action?projectGroupId=6
> >
> *Project Information*
> Builds<
> http://maven.supdev.msp.gouv.qc.ca:8080/continuum/buildResults.action?projectId=2&projectGroupId=6
> >
> Working
> Copy<
> http://maven.supdev.msp.gouv.qc.ca:8080/continuum/workingCopy.action?projectId=2&projectGroupId=6
> >
>  Continuum Project  Project Name: MyProject
>  Version: 1.0-SNAPSHOT  Scm Url: scm:svn:
> http://urlSvn/depot/myProject/trunk/  Group: MyGroup
>            Build Definitions
>
>      Goals Arguments Build File Profile Schedule From Build Fresh Default
>        --batch-mode --non-recursive pom.xml
> DEFAULT_SCHEDULE<
> http://maven.supdev.msp.gouv.qc.ca:8080/continuum/schedule.action?id=1>
> GROUP false true  [image:
> Build]<
> http://maven.supdev.msp.gouv.qc.ca:8080/continuum/buildProject.action?fromProjectPage=true&projectId=2&buildDefinitionId=6&projectGroupId=6
> >
>  [image:
> Edit]<
> http://maven.supdev.msp.gouv.qc.ca:8080/continuum/buildDefinition%21input.action?projectId=2&buildDefinitionId=6&groupBuildDefinition=true&projectGroupId=6
> >
>  [image:
> Delete]<
> http://maven.supdev.msp.gouv.qc.ca:8080/continuum/removeGroupBuildDefinition.action?projectId=2&buildDefinitionId=6&confirmed=false&groupBuildDefinition=true&projectGroupId=6
> >
>     Notifiers
>
>
> Shell executable*:pom.xml
> Arguments: --batch-mode --non-recursive
> Is it default?: true
>
>
> Alex.
>
>
>
> 2008/4/22, Emmanuel Venisse <emmanuel.venisse@gmail.com>:
> >
> > 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