I am getting this error
The command line is too long.
mvn install
Standard error from the DataNucleus tool org.datanucleus.enhancer.DataNucleusEnhancer
You may look at http://www.datanucleus.org/products/accessplatform/troubleshooting.html. and here: http://code.google.com/p/vosao/issues/detail?id=47.
==============QUOTE==============
Problem
CreateProcess error=87 when running DataNucleus tools under Microsoft Windows OS.
Windows has a command line length limitation, between 8K and 64K characters depending on the Windows version, that may be triggered when running tools such as the Enhancer or the SchemaTool with too many arguments.
Solution
When running such tools from Maven or Ant, disable the fork mechanism by setting the option fork="false". ==============END==============
pom.xml file needs to be adjusted as follows:
==============WAS==============
org.datanucleus
....
**/*.class
true
ASM
JDO
...
==============END WAS==============
==============SHOULD BE==============
org.datanucleus
....
false
org/vosao/entity/*.class
true
ASM
JDO
...
==============SHOULD BE==============
My suggested change to pom.xml also specifies limiting scope of Enhancer work area.