Hi,

I am try to a maven clean build on the SimpleApp archetype and get the
following error message.

Maybe something in the pom.xml files?

[INFO]
[INFO] SimpleApp Parent ................................... SUCCESS [
2.553 s]
[INFO] SimpleApp Simple Module ............................ FAILURE [
10.456 s]
[INFO] SimpleApp Application .............................. SKIPPED
[INFO] SimpleApp Webapp ................................... SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 14.053 s
[INFO] Finished at: 2016-12-23T15:45:15+11:00
[INFO] Final Memory: 30M/981M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.datanucleus:datanucleus-maven-plugin:4.0.5:enhance (process-classes) on
project myapp-module-simple: Error executing DataNucleus tool
org.datanucleus.enhancer.DataNucleusEnhancer: InvocationTargetException:
Plugin (Bundle) "org.datanucleus.api.jdo" is already registered. Ensure you
dont have multiple JAR versions of the same plugin in the classpath. The
URL
"file:/d:/maven/repository/org/datanucleus/datanucleus-api-jdo/4.1.1/datanucleus-api-jdo-4.1.1.jar"
is already registered, and you are trying to register an identical plugin
located at URL
"file:/D:/maven/repository/org/datanucleus/datanucleus-api-jdo/4.1.1/datanucleus-api-jdo-4.1.1.jar."
-> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn <goals> -rf :myapp-module-simple

Reply via email to