Hello,
The maven-apt-plugin (apt compiler) fails without giving information
about the cause. We need to run it with debug information.
From Eclipse, go into "Preferences -> Maven" and check "Debug output"
or from command line, run: "mvn package -X"
Thanks,
Julien
lizhu_zhang a écrit :
Hi all,
I checked out the nuxeo-project-sample project with Eclipse. But while
I'm going to package the sample project with "Run as -> Maven Package"
instruction, I encountered the error as below. Can any kind of you
give me some advice? Thank you so much!
[INFO] Attempting to resolve a version for plugin: org.codehaus.mojo:jboss-packaging-maven-plugin using meta-version: LATEST
[INFO] artifact org.codehaus.mojo:jboss-packaging-maven-plugin: checking for
updates from central
[INFO] artifact org.codehaus.mojo:jboss-packaging-maven-plugin: checking for
updates from nuxeo-release
[INFO] Using version: 2.0-beta-1 of plugin:
org.codehaus.mojo:jboss-packaging-maven-plugin
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Nuxeo sample project
[INFO]
[INFO] Id: nuxeo-project-sample:nuxeo-project-sample:jar:5.2.0.m4
[INFO] task-segment: [package]
[INFO] ------------------------------------------------------------------------
[INFO] [buildnumber:create]
[INFO] Storing buildNumber: 20090311-164448 at timestamp: 1236761088375
[INFO] [apt:execute]
[ERROR]
The following mojo encountered an error while executing:
Group-Id: org.apache.myfaces.tobago
Artifact-Id: maven-apt-plugin
Version: 1.0.12
Mojo: execute
brought in via: POM
While building project:
Group-Id: nuxeo-project-sample
Artifact-Id: nuxeo-project-sample
Version: 5.2.0.m4
From file: D:\ECMProject\nuxeo-project-sample\pom.xml
Reason: Error starting apt compiler
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run with the -e flag
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILED
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 26 seconds
[INFO] Finished at: Wed Mar 11 16:44:56 CST 2009
[INFO] Final Memory: 6M/51M
[INFO] ------------------------------------------------------------------------
Aaron Zhang
------------------------------------------------------------------------
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
--
Julien Carsique, Nuxeo (Paris, France)
www.nuxeo.com - The Open Source ECM Platform - www.nuxeo.org
Nuxeo ECM Stack - The Java EE, scalable, standard-based ECM Platform
[email protected] | Tel: +33 1 40 33 79 87
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm