Hi,
We've experienced problems with maven 2.1.0, it's probably your problem.
Please try downgrading to maven 2.0.9.
Regards,
--
Anahide Tchertchian, Nuxeo
Mail: [email protected] - Tel: +33 (0)1 40 33 79 87
http://www.nuxeo.com - http://www.nuxeo.org
Jesus Ibañez Calvo a écrit :
hello!!
I have tried to install a develop environment following
the http://doc.nuxeo.org/xwiki/bin/view/FAQ/DownloadingNuxeoSources
and doing the next:
hg clone -r 5.2.0 http://hg.nuxeo.org/nuxeo
cd nuxeo
edit pom.xml file doing: <version>5.2.0</version>
hg clone -r 1.5 http://hg.nuxeo.org/nuxeo/nuxeo-common
hg clone -r 1.5 http://hg.nuxeo.org/nuxeo/nuxeo-runtime
hg clone -r 1.5 http://hg.nuxeo.org/nuxeo/nuxeo-core
hg clone -r 5.2.0 http://hg.nuxeo.org/nuxeo/nuxeo-services
hg clone -r 5.2.0 http://hg.nuxeo.org/nuxeo/nuxeo-theme
hg clone -r 5.2.0 http://hg.nuxeo.org/nuxeo/nuxeo-webengine
hg clone -r 5.2.0 http://hg.nuxeo.org/nuxeo/nuxeo-jsf
hg clone -r 5.2.0 http://hg.nuxeo.org/nuxeo/nuxeo-gwt
hg clone -r 5.2.0 http://hg.nuxeo.org/nuxeo/nuxeo-features
hg clone -r 5.2.0 http://hg.nuxeo.org/nuxeo/nuxeo-dm
hg clone -r 5.2.0 http://hg.nuxeo.org/nuxeo/nuxeo-distribution
hgf up release-5.2.0
edit build.properties file doing:
jboss.dir=/Applications/jboss-4.2.3.GA <http://jboss-4.2.3.GA>
edit build.xml file doing : <property name="jboss.dir"
value="/Applications/jboss-4.2.3.GA <http://jboss-4.2.3.GA>" />
Running :
$ mvn eclipse:clean eclipse:eclipse
ant patch
up to here everything was successful, but when i do the deploy doing:
ant deploy
the next error appear:
----------------------------------------------------------------------------------------------------------------
[exec] [ERROR] FATAL ERROR
[exec] [INFO]
------------------------------------------------------------------------
[exec] [INFO] null
[exec] [INFO]
------------------------------------------------------------------------
[exec] [INFO] Trace
[exec] java.lang.NullPointerException
[exec] at java.util.Hashtable.put(Hashtable.java:396)
[exec] at java.util.Properties.setProperty(Properties.java:128)
[exec] at
org.apache.maven.project.ModelUtils.cloneProperties(ModelUtils.java:1264)
[exec] at
org.apache.maven.project.ModelUtils.cloneModelBaseFields(ModelUtils.java:318)
[exec] at
org.apache.maven.project.ModelUtils.cloneModel(ModelUtils.java:953)
[exec] at
org.apache.maven.project.DefaultMavenProjectBuilder.calculateConcreteStateInternal(DefaultMavenProjectBuilder.java:1865)
[exec] at
org.apache.maven.project.DefaultMavenProjectBuilder.calculateConcreteState(DefaultMavenProjectBuilder.java:1824)
[exec] at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.calculateConcreteState(DefaultLifecycleExecutor.java:779)
[exec] at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:575)
[exec] at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
[exec] at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
[exec] at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
[exec] at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
[exec] at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
[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]
------------------------------------------------------------------------
[exec] [INFO] Total time: 5 minutes 23 seconds
[exec] [INFO] Finished at: Tue May 19 23:59:39 CDT 2009
[exec] [INFO] Final Memory: 230M/454M
[exec] [INFO]
------------------------------------------------------------------------
BUILD FAILED
/Users/jesus/Documents/workspace/nuxeo520/nuxeo/build.xml:62: exec
returned: 1
Total time: 5 minutes 45 seconds
----------------------------------------------------------------------------------------------------------------
and in that line the build.xml has:
----------------------------------------------------------------------------------------------------------------
<!-- backward compatibility -->
<target name="undeploy" depends="jboss-clean" description="Undeploy
Nuxeo-EP (deprecated : use jboss-clean instead)" />
<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">
<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>
----------------------------------------------------------------------------------------------------------------
could somone help me on this pls.? what am i doing wrong?
my plataform is:
Apache Maven 2.1.0 (r755702; 2009-03-18 13:10:27-0600)
Java version: 1.5.0_16
Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x" version: "10.5.7" arch: "i386" Family: "unix"
Apache Ant version 1.7.0 compiled on August 25 2008
Thks. in advanced.
Best Regards
--
Jesus
------------------------------------------------------------------------
_______________________________________________
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