7 May 11:46
Re: "mvn install" FAILURE
From: Stefane Fermigier <sf@...>
Subject: Re: "mvn install" FAILURE
Newsgroups: gmane.comp.cms.nuxeo.general
Date: 2008-05-07 09:46:07 GMT
Subject: Re: "mvn install" FAILURE
Newsgroups: gmane.comp.cms.nuxeo.general
Date: 2008-05-07 09:46:07 GMT
Hi,
The "trunk" of the source code has moved.
A unit test is failing for some unknown reason (might be related to the version of Java and/or Maven you're using).
You should type "mvn -e install" here.
a few answers below:
On May 7, 2008, at 11:36 AM, messagesky wrote:
Follow:(1) Get the source code using Subversion from http://svn.nuxeo.org/nuxeo/nuxeo-ep/trunk.
Or: http://doc.nuxeo.org/xwiki/bin/view/Main/ for more up to date documentation.
(2) E:\Temp\nuxeo\Source0424>java -versionjava version "1.6.0_05"Java(TM) SE Runtime Environment (build 1.6.0_05-b13)Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode, sharing)(3) E:\Temp\nuxeo\Source0424>mvn -versionMaven version: 2.0.9Java version: 1.6.0_05OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"(4) E:\Temp\nuxeo\Source0424>set JAVA_OPTS="-Xms256m -Xmx512m"(5) E:\Temp\nuxeo\Source0424>mvn install
You can proceed with the installation by typing "mvn instal -Dmaven.test.skip=true".
Actually, the simplest way to build is to type "ant patch", then "ant" instead.
-------------------------------------------------------T E S T S-------------------------------------------------------Running org.nuxeo.runtime.scripting.RemoteTestTests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 secRunning org.nuxeo.runtime.scripting.TestEngines*sys-package-mgr*: can't create package cache dir, 'E:\Temp\LocalRepository\org\python\jython\2.2.1\jython-2.2.1.jar\cachedir\packages'Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 3.937 sec <<< FAILURE!Results :Failed tests:testJS(org.nuxeo.runtime.scripting.TestEngines)Tests run: 5, Failures: 1, Errors: 0, Skipped: 0[INFO] ------------------------------------------------------------------------[ERROR] BUILD FAILURE[INFO] ------------------------------------------------------------------------[INFO] There are test failures.[INFO] ------------------------------------------------------------------------[INFO] For more information, run Maven with the -e switch[INFO] ------------------------------------------------------------------------[INFO] Total time: 1 minute 8 seconds[INFO] Finished at: Wed May 07 17:30:52 CST 2008[INFO] Final Memory: 56M/63M[INFO] ------------------------------------------------------------------------(6) E:\Temp\nuxeo\Source0424>mvn -e
+ Error stacktraces are turned on.[INFO] Scanning for projects...[INFO] Reactor build order:[INFO] Nuxeo ECM Projects[INFO] Nuxeo Common[INFO] Nuxeo Runtime Parent[INFO] ------------------------------------------------------------------------[ERROR] BUILD FAILURE[INFO] ------------------------------------------------------------------------[INFO]You must specify at least one goal. Try 'mvn install' to build or 'mvn -?' for optionsSee http://maven.apache.org for more information.[INFO] ------------------------------------------------------------------------[INFO] Traceorg.apache.maven.BuildFailureException:You must specify at least one goal. Try 'mvn install' to build or 'mvn -?' for optionsSee http://maven.apache.org for more information.at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:134)at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)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:597)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)[INFO] ------------------------------------------------------------------------[INFO] Total time: 10 seconds[INFO] Finished at: Wed May 07 17:31:37 CST 2008[INFO] Final Memory: 31M/57M[INFO] ------------------------------------------------------------------------Would you like give me a hand?Thank you very much!2008-05-07messagesky_______________________________________________
ECM mailing list
ECM-FQDHc1wsLCVb90+sfpvX0g@public.gmane.org
http://lists.nuxeo.com/mailman/listinfo/ecm
--
Stefane Fermigier, CEO, Nuxeo
Open Source, Java EE based, Enterprise Content Management (ECM)
New! Nuxeo TV on http://nuxeo.blip.tv/
Web: http://www.nuxeo.com/ - Tel: +33 1 40 33 79 87
_______________________________________________ ECM mailing list ECM@... http://lists.nuxeo.com/mailman/listinfo/ecm
RSS Feed