When I run the command: mvn -DskipTests install -Paddons
I get an error:
[INFO] Compiling 1 source file to D:\n57\n\nuxeo-features\nuxeo-platform-annotations\nuxeo-platform-annotations-web\target\test-classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] Failure executing javac, but could not parse the error:
The system is out of resources.
Consult the following stack trace for details.
java.lang.StackOverflowError
at com.sun.tools.javac.comp.Attr.litType(Attr.java:2855)
at com.sun.tools.javac.comp.Attr.visitLiteral(Attr.java:2848)
at com.sun.tools.javac.tree.JCTree$JCLiteral.accept(JCTree.java:1730)
at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:431)
at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:418)
at com.sun.tools.javac.comp.Attr.attribArgs(Attr.java:504)
at com.sun.tools.javac.comp.Attr.visitApply(Attr.java:1506)
at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1321)
at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:431)
at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:418)
at com.sun.tools.javac.comp.Attr.visitSelect(Attr.java:2238)
I am using java 1.7.0.25 and settings "-Xms1g -Xmx1g -XX:MaxPermSize=256m"
What should I change to eliminate the error ?