2009/4/11 ericdes <[email protected]>

> This is a similar problem than the one originally posted by Sa3d on Mar.
> 21st 2009. I'm not sure it got answered as I'm new to Nuxeo and just
> subscribed to the list.
>
> My setup is Eclipse 3.4.2 on Vista 32 bits with ant 1.7.1 and maven 2.1.0.
> There's the obvious question if mvn is in the path: yes, I can run mvn -v
> from anywhere.



For what I can see, if finds maven and runs it but an arg given to it is
wrong. It might be the ${mvn.opts}

can you run "mvn -Dmaven.test.skip=true install" from the root of Nuxeo ?
what value have you put in build.properties ?


>
>
> The error occurs at line 69 (vs 107 on the original post):
>
> BUILD FAILED
> D:\nuxeo\build.xml:69: exec returned: 1
>
> Any help would be greatly appreciated!
>
>
> ========================================================
>  <target name="install" depends="clean,install-unix,install-windows"
> description="Run mvn install" />
>  <target name="install-unix" if="osfamily-unix">
>    <exec executable="env" />
>    <exec executable="mvn" failonerror="true">
>      <arg value="install" />
>      <arg value="-Dmaven.test.skip=true" />
>      <arg value="${mvn.opts}" />
>    </exec>
>  </target>
>  <target name="install-windows" if="osfamily-windows">
> This is line 69 <-----------    <exec executable="cmd" failonerror="true">
>      <arg value="/c" />
>      <arg value="mvn.bat" />
>      <arg value="install" />
>      <arg value="-Dmaven.test.skip=true" />
>      <arg value="${mvn.opts}" />
>    </exec>
>  </target>
> ========================================================
>
> ------------------------------------------------------------------------
>     [exec] [ERROR] BUILD FAILURE
>     [exec] [INFO]
> ------------------------------------------------------------------------
>     [exec] [INFO] Invalid task ' ': you must specify a valid lifecycle
> phase, or a goal in the format plugin:goal or
> pluginGroupId:pluginArtifactId:pluginVersion:goal
>     [exec] [INFO]
> ------------------------------------------------------------------------
>     [exec] [INFO] Trace
>     [exec] org.apache.maven.BuildFailureException: Invalid task ' ': you
> must specify a valid lifecycle phase, or a goal in the format plugin:goal or
> pluginGroupId:pluginArtifactId:pluginVersion:goal
>     [exec]     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1765)
>     [exec]     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:446)
>     [exec]     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:176)
>     [exec]     at
> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
>     [exec]     at
> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
>     [exec]     at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
>     [exec]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>     [exec]     at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>     [exec]     at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     [exec]     at java.lang.reflect.Method.invoke(Method.java:585)
>     [exec]     at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>     [exec]     at
> org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>     [exec]     at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>     [exec]     at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>     [exec] [INFO]
> ------------------------------------------------------------------------
>
>
> _______________________________________________
> ECM mailing list
> [email protected]
> http://lists.nuxeo.com/mailman/listinfo/ecm
> To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm
>
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Reply via email to