Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Victors-MacBook-Pro:oscar victorng$ mvn package
- [INFO] Scanning for projects...
- [WARNING]
- [WARNING] Some problems were encountered while building the effective model for org.oscarehr:oscar:war:SNAPSHOT
- [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-pmd-plugin is missing. @ line 794, column 12
- [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 712, column 12
- [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 817, column 16
- [WARNING] 'version' uses an unsupported snapshot version format, should be '*-SNAPSHOT' instead. @ line 6, column 11
- [WARNING]
- [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
- [WARNING]
- [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
- [WARNING]
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Building oscar SNAPSHOT
- [INFO] ------------------------------------------------------------------------
- [INFO]
- [INFO] --- maven-checkstyle-plugin:2.8:checkstyle (default) @ oscar ---
- Using data file path : /Users/victorng/dev/oscar/utils/TrackingRegexpCheck_java_jsp.data.xml, pathPrefix=/Users/victorng/dev/oscar
- Using data file path : /Users/victorng/dev/oscar/utils/TrackingRegexpCheck_sql.data.xml, pathPrefix=/Users/victorng/dev/oscar
- ------------------------
- Current violation counts
- ------------------------
- utils/TrackingRegexpCheck_java_jsp.data.xml:The base action pattern is terrible, it makes a bloat super class that no one has any idea what is being used where, extend struts directly instead. : 47
- utils/TrackingRegexpCheck_java_jsp.data.xml:not really an error, but 99% of the time StringBuilder/HashMap/ArrayList is a better choice unless mandated by another API. : 2642
- utils/TrackingRegexpCheck_java_jsp.data.xml:use generics : 1661
- utils/TrackingRegexpCheck_java_jsp.data.xml:use jpa instead : 1710
- utils/TrackingRegexpCheck_sql.data.xml:Do not specify the database type in the sql scripts, allow people to set the type in the my.cnf : 92
- utils/TrackingRegexpCheck_sql.data.xml:Don't put defaults in table definitions, put them in the JPA objects. : 9366
- utils/TrackingRegexpCheck_sql.data.xml:Use null for no value, don't use 0000-00-00 nor empty string : 14636
- [INFO] Starting audit...
- Audit done.
- [WARNING] Unable to locate Source XRef to link to - DISABLED
- [INFO]
- [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ oscar ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 495 resources
- [INFO]
- [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ oscar ---
- [INFO] Compiling 2852 source files to /Users/victorng/dev/oscar/target/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.OutOfMemoryError: Java heap space
- at com.sun.tools.javac.zip.ZipFileIndex$ZipDirectory.findCENRecord(ZipFileIndex.java:698)
- at com.sun.tools.javac.zip.ZipFileIndex$ZipDirectory.<init>(ZipFileIndex.java:665)
- at com.sun.tools.javac.zip.ZipFileIndex.checkIndex(ZipFileIndex.java:260)
- at com.sun.tools.javac.zip.ZipFileIndex.<init>(ZipFileIndex.java:209)
- at com.sun.tools.javac.zip.ZipFileIndex.getZipFileIndex(ZipFileIndex.java:115)
- at com.sun.tools.javac.util.DefaultFileManager.openArchive(DefaultFileManager.java:621)
- at com.sun.tools.javac.util.DefaultFileManager.listDirectory(DefaultFileManager.java:309)
- at com.sun.tools.javac.util.DefaultFileManager.list(DefaultFileManager.java:890)
- at com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:2130)
- at com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:1781)
- at com.sun.tools.javac.code.Symbol.complete(Symbol.java:384)
- at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:274)
- at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:446)
- at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:238)
- at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:252)
- at com.sun.tools.javac.comp.Enter.complete(Enter.java:457)
- at com.sun.tools.javac.comp.Enter.main(Enter.java:442)
- at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:822)
- at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:727)
- at com.sun.tools.javac.main.Main.compile(Main.java:353)
- at com.sun.tools.javac.main.Main.compile(Main.java:279)
- at com.sun.tools.javac.main.Main.compile(Main.java:270)
- at com.sun.tools.javac.Main.compile(Main.java:87)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
- at java.lang.reflect.Method.invoke(Method.java:597)
- at org.codehaus.plexus.compiler.javac.JavacCompiler.compileInProcess(JavacCompiler.java:554)
- at org.codehaus.plexus.compiler.javac.JavacCompiler.compile(JavacCompiler.java:161)
- at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:605)
- at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:128)
- at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
- [INFO] 1 error
- [INFO] -------------------------------------------------------------
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 56.021s
- [INFO] Finished at: Wed Jul 04 00:57:22 EDT 2012
- [INFO] Final Memory: 38M/123M
- [INFO] ------------------------------------------------------------------------
- [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project oscar: Compilation failure
- [ERROR] Failure executing javac, but could not parse the error:
- [ERROR]
- [ERROR]
- [ERROR] The system is out of resources.
- [ERROR] Consult the following stack trace for details.
- [ERROR] java.lang.OutOfMemoryError: Java heap space
- [ERROR] at com.sun.tools.javac.zip.ZipFileIndex$ZipDirectory.findCENRecord(ZipFileIndex.java:698)
- [ERROR] at com.sun.tools.javac.zip.ZipFileIndex$ZipDirectory.<init>(ZipFileIndex.java:665)
- [ERROR] at com.sun.tools.javac.zip.ZipFileIndex.checkIndex(ZipFileIndex.java:260)
- [ERROR] at com.sun.tools.javac.zip.ZipFileIndex.<init>(ZipFileIndex.java:209)
- [ERROR] at com.sun.tools.javac.zip.ZipFileIndex.getZipFileIndex(ZipFileIndex.java:115)
- [ERROR] at com.sun.tools.javac.util.DefaultFileManager.openArchive(DefaultFileManager.java:621)
- [ERROR] at com.sun.tools.javac.util.DefaultFileManager.listDirectory(DefaultFileManager.java:309)
- [ERROR] at com.sun.tools.javac.util.DefaultFileManager.list(DefaultFileManager.java:890)
- [ERROR] at com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:2130)
- [ERROR] at com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:1781)
- [ERROR] at com.sun.tools.javac.code.Symbol.complete(Symbol.java:384)
- [ERROR] at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:274)
- [ERROR] at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:446)
- [ERROR] at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:238)
- [ERROR] at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:252)
- [ERROR] at com.sun.tools.javac.comp.Enter.complete(Enter.java:457)
- [ERROR] at com.sun.tools.javac.comp.Enter.main(Enter.java:442)
- [ERROR] at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:822)
- [ERROR] at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:727)
- [ERROR] at com.sun.tools.javac.main.Main.compile(Main.java:353)
- [ERROR] at com.sun.tools.javac.main.Main.compile(Main.java:279)
- [ERROR] at com.sun.tools.javac.main.Main.compile(Main.java:270)
- [ERROR] at com.sun.tools.javac.Main.compile(Main.java:87)
- [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
- [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
- [ERROR] at java.lang.reflect.Method.invoke(Method.java:597)
- [ERROR] at org.codehaus.plexus.compiler.javac.JavacCompiler.compileInProcess(JavacCompiler.java:554)
- [ERROR] at org.codehaus.plexus.compiler.javac.JavacCompiler.compile(JavacCompiler.java:161)
- [ERROR] at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:605)
- [ERROR] at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:128)
- [ERROR] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
- [ERROR] -> [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/MojoFailureException
- Victors-MacBook-Pro:oscar victorng$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement