Advertisement
crankycoder

release_12 mvn failure

Jul 3rd, 2012
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 9.38 KB | None | 0 0
  1. Victors-MacBook-Pro:oscar victorng$ mvn package
  2. [INFO] Scanning for projects...
  3. [WARNING]
  4. [WARNING] Some problems were encountered while building the effective model for org.oscarehr:oscar:war:SNAPSHOT
  5. [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-pmd-plugin is missing. @ line 794, column 12
  6. [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 712, column 12
  7. [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 817, column 16
  8. [WARNING] 'version' uses an unsupported snapshot version format, should be '*-SNAPSHOT' instead. @ line 6, column 11
  9. [WARNING]
  10. [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
  11. [WARNING]
  12. [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
  13. [WARNING]
  14. [INFO]                                                                        
  15. [INFO] ------------------------------------------------------------------------
  16. [INFO] Building oscar SNAPSHOT
  17. [INFO] ------------------------------------------------------------------------
  18. [INFO]
  19. [INFO] --- maven-checkstyle-plugin:2.8:checkstyle (default) @ oscar ---
  20. Using data file path : /Users/victorng/dev/oscar/utils/TrackingRegexpCheck_java_jsp.data.xml, pathPrefix=/Users/victorng/dev/oscar
  21. Using data file path : /Users/victorng/dev/oscar/utils/TrackingRegexpCheck_sql.data.xml, pathPrefix=/Users/victorng/dev/oscar
  22. ------------------------
  23. Current violation counts
  24. ------------------------
  25. 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
  26. 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
  27. utils/TrackingRegexpCheck_java_jsp.data.xml:use generics : 1661
  28. utils/TrackingRegexpCheck_java_jsp.data.xml:use jpa instead : 1710
  29. 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
  30. utils/TrackingRegexpCheck_sql.data.xml:Don't put defaults in table definitions, put them in the JPA objects. : 9366
  31. utils/TrackingRegexpCheck_sql.data.xml:Use null for no value, don't use 0000-00-00 nor empty string : 14636
  32. [INFO] Starting audit...
  33. Audit done.
  34.  
  35. [WARNING] Unable to locate Source XRef to link to - DISABLED
  36. [INFO]
  37. [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ oscar ---
  38. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  39. [INFO] Copying 495 resources
  40. [INFO]
  41. [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ oscar ---
  42. [INFO] Compiling 2852 source files to /Users/victorng/dev/oscar/target/classes
  43. [INFO] -------------------------------------------------------------
  44. [ERROR] COMPILATION ERROR :
  45. [INFO] -------------------------------------------------------------
  46. [ERROR] Failure executing javac, but could not parse the error:
  47.  
  48.  
  49. The system is out of resources.
  50. Consult the following stack trace for details.
  51. java.lang.OutOfMemoryError: Java heap space
  52.     at com.sun.tools.javac.zip.ZipFileIndex$ZipDirectory.findCENRecord(ZipFileIndex.java:698)
  53.     at com.sun.tools.javac.zip.ZipFileIndex$ZipDirectory.<init>(ZipFileIndex.java:665)
  54.     at com.sun.tools.javac.zip.ZipFileIndex.checkIndex(ZipFileIndex.java:260)
  55.     at com.sun.tools.javac.zip.ZipFileIndex.<init>(ZipFileIndex.java:209)
  56.     at com.sun.tools.javac.zip.ZipFileIndex.getZipFileIndex(ZipFileIndex.java:115)
  57.     at com.sun.tools.javac.util.DefaultFileManager.openArchive(DefaultFileManager.java:621)
  58.     at com.sun.tools.javac.util.DefaultFileManager.listDirectory(DefaultFileManager.java:309)
  59.     at com.sun.tools.javac.util.DefaultFileManager.list(DefaultFileManager.java:890)
  60.     at com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:2130)
  61.     at com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:1781)
  62.     at com.sun.tools.javac.code.Symbol.complete(Symbol.java:384)
  63.     at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:274)
  64.     at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:446)
  65.     at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:238)
  66.     at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:252)
  67.     at com.sun.tools.javac.comp.Enter.complete(Enter.java:457)
  68.     at com.sun.tools.javac.comp.Enter.main(Enter.java:442)
  69.     at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:822)
  70.     at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:727)
  71.     at com.sun.tools.javac.main.Main.compile(Main.java:353)
  72.     at com.sun.tools.javac.main.Main.compile(Main.java:279)
  73.     at com.sun.tools.javac.main.Main.compile(Main.java:270)
  74.     at com.sun.tools.javac.Main.compile(Main.java:87)
  75.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  76.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  77.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  78.     at java.lang.reflect.Method.invoke(Method.java:597)
  79.     at org.codehaus.plexus.compiler.javac.JavacCompiler.compileInProcess(JavacCompiler.java:554)
  80.     at org.codehaus.plexus.compiler.javac.JavacCompiler.compile(JavacCompiler.java:161)
  81.     at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:605)
  82.     at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:128)
  83.     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
  84.  
  85. [INFO] 1 error
  86. [INFO] -------------------------------------------------------------
  87. [INFO] ------------------------------------------------------------------------
  88. [INFO] BUILD FAILURE
  89. [INFO] ------------------------------------------------------------------------
  90. [INFO] Total time: 56.021s
  91. [INFO] Finished at: Wed Jul 04 00:57:22 EDT 2012
  92. [INFO] Final Memory: 38M/123M
  93. [INFO] ------------------------------------------------------------------------
  94. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project oscar: Compilation failure
  95. [ERROR] Failure executing javac, but could not parse the error:
  96. [ERROR]
  97. [ERROR]
  98. [ERROR] The system is out of resources.
  99. [ERROR] Consult the following stack trace for details.
  100. [ERROR] java.lang.OutOfMemoryError: Java heap space
  101. [ERROR] at com.sun.tools.javac.zip.ZipFileIndex$ZipDirectory.findCENRecord(ZipFileIndex.java:698)
  102. [ERROR] at com.sun.tools.javac.zip.ZipFileIndex$ZipDirectory.<init>(ZipFileIndex.java:665)
  103. [ERROR] at com.sun.tools.javac.zip.ZipFileIndex.checkIndex(ZipFileIndex.java:260)
  104. [ERROR] at com.sun.tools.javac.zip.ZipFileIndex.<init>(ZipFileIndex.java:209)
  105. [ERROR] at com.sun.tools.javac.zip.ZipFileIndex.getZipFileIndex(ZipFileIndex.java:115)
  106. [ERROR] at com.sun.tools.javac.util.DefaultFileManager.openArchive(DefaultFileManager.java:621)
  107. [ERROR] at com.sun.tools.javac.util.DefaultFileManager.listDirectory(DefaultFileManager.java:309)
  108. [ERROR] at com.sun.tools.javac.util.DefaultFileManager.list(DefaultFileManager.java:890)
  109. [ERROR] at com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:2130)
  110. [ERROR] at com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:1781)
  111. [ERROR] at com.sun.tools.javac.code.Symbol.complete(Symbol.java:384)
  112. [ERROR] at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:274)
  113. [ERROR] at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:446)
  114. [ERROR] at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:238)
  115. [ERROR] at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:252)
  116. [ERROR] at com.sun.tools.javac.comp.Enter.complete(Enter.java:457)
  117. [ERROR] at com.sun.tools.javac.comp.Enter.main(Enter.java:442)
  118. [ERROR] at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:822)
  119. [ERROR] at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:727)
  120. [ERROR] at com.sun.tools.javac.main.Main.compile(Main.java:353)
  121. [ERROR] at com.sun.tools.javac.main.Main.compile(Main.java:279)
  122. [ERROR] at com.sun.tools.javac.main.Main.compile(Main.java:270)
  123. [ERROR] at com.sun.tools.javac.Main.compile(Main.java:87)
  124. [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  125. [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  126. [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  127. [ERROR] at java.lang.reflect.Method.invoke(Method.java:597)
  128. [ERROR] at org.codehaus.plexus.compiler.javac.JavacCompiler.compileInProcess(JavacCompiler.java:554)
  129. [ERROR] at org.codehaus.plexus.compiler.javac.JavacCompiler.compile(JavacCompiler.java:161)
  130. [ERROR] at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:605)
  131. [ERROR] at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:128)
  132. [ERROR] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
  133. [ERROR] -> [Help 1]
  134. [ERROR]
  135. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  136. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  137. [ERROR]
  138. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  139. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
  140. Victors-MacBook-Pro:oscar victorng$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement