Details
-
Type:
Improvement
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Won't Fix
-
Affects Version/s: 1.2.2.RELEASE
-
Fix Version/s: None
-
Component/s: PERSISTENCE
-
Labels:None
-
Environment:Ubuntu 12.04 spring roo shell, and STS
Description
When creating a simple project using DATABASE_DOT_COM for persistence, tests will fail
project --topLevelPackage com.tenminutes
jpa setup --provider DATANUCLEUS --database DATABASE_DOT_COM --hostname login.salesforce.com --userName [email protected] --password xxx
entity jpa --class ~.Invoice --testAutomatically
field string --fieldName name --notNull
web mvc setup
web mvc all --package ~.web
perform tests
....
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 18.652s
[INFO] Finished at: Thu Sep 06 12:37:50 PDT 2012
[INFO] Final Memory: 11M/95M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.datanucleus:maven-datanucleus-plugin:3.0.2:enhance (default) on project tenminutes: Error executing DataNucleus tool org.datanucleus.enhancer.DataNucleusEnhancer: InvocationTargetException: org.datanucleus.metadata.MetaDataManager.getOMFContext()Lorg/datanucleus/OMFContext; -> [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