Advertisement
Guest User

OPENMRS MAVEN BUILD ERROR

a guest
Apr 19th, 2013
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 13.16 KB | None | 0 0
  1. SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
  2. SLF4J: Defaulting to no-operation (NOP) logger implementation
  3. SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
  4. [INFO] Scanning for projects...
  5. [WARNING]
  6. [WARNING] Some problems were encountered while building the effective model for org.openmrs.tools:openmrs-tools:jar:1.10.0-SNAPSHOT
  7. [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin is missing. @ org.openmrs:openmrs:1.10.0-SNAPSHOT, C:\Documents and Settings\AISYA\git\openmrs-core\pom.xml, line 976, column 12
  8. [WARNING]
  9. [WARNING] Some problems were encountered while building the effective model for org.openmrs.test:openmrs-test:pom:1.10.0-SNAPSHOT
  10. [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin is missing. @ org.openmrs:openmrs:1.10.0-SNAPSHOT, C:\Documents and Settings\AISYA\git\openmrs-core\pom.xml, line 976, column 12
  11. [WARNING]
  12. [WARNING] Some problems were encountered while building the effective model for org.openmrs.api:openmrs-api:jar:1.10.0-SNAPSHOT
  13. [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin is missing. @ org.openmrs:openmrs:1.10.0-SNAPSHOT, C:\Documents and Settings\AISYA\git\openmrs-core\pom.xml, line 976, column 12
  14. [WARNING]
  15. [WARNING] Some problems were encountered while building the effective model for org.openmrs.web:openmrs-web:jar:1.10.0-SNAPSHOT
  16. [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin is missing. @ org.openmrs:openmrs:1.10.0-SNAPSHOT, C:\Documents and Settings\AISYA\git\openmrs-core\pom.xml, line 976, column 12
  17. [WARNING]
  18. [WARNING] Some problems were encountered while building the effective model for org.openmrs.web:openmrs-webapp:war:1.10.0-SNAPSHOT
  19. [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin is missing. @ org.openmrs:openmrs:1.10.0-SNAPSHOT, C:\Documents and Settings\AISYA\git\openmrs-core\pom.xml, line 976, column 12
  20. [WARNING]
  21. [WARNING] Some problems were encountered while building the effective model for org.openmrs:openmrs-release-test:jar:1.10.0-SNAPSHOT
  22. [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin is missing. @ org.openmrs:openmrs:1.10.0-SNAPSHOT, C:\Documents and Settings\AISYA\git\openmrs-core\pom.xml, line 976, column 12
  23. [WARNING]
  24. [WARNING] Some problems were encountered while building the effective model for org.openmrs:openmrs:pom:1.10.0-SNAPSHOT
  25. [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin is missing. @ line 976, column 12
  26. [WARNING]
  27. [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
  28. [WARNING]
  29. [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
  30. [WARNING]
  31. [INFO] ------------------------------------------------------------------------
  32. [INFO] Reactor Build Order:
  33. [INFO]
  34. [INFO] OpenMRS
  35. [INFO] openmrs-tools
  36. [INFO] openmrs-test
  37. [INFO] openmrs-api
  38. [INFO] openmrs-web
  39. [INFO] openmrs-webapp
  40. [INFO] openmrs-release-test
  41. [INFO]                                                                        
  42. [INFO] ------------------------------------------------------------------------
  43. [INFO] Building OpenMRS 1.10.0-SNAPSHOT
  44. [INFO] ------------------------------------------------------------------------
  45. [INFO]
  46. [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ openmrs ---
  47. [INFO] Deleting C:\Documents and Settings\AISYA\git\openmrs-core\target
  48. [INFO]
  49. [INFO] --- buildnumber-maven-plugin:1.1:create (default) @ openmrs ---
  50. [INFO] Checking for local modifications: skipped.
  51. [INFO] Updating project files from SCM: skipped.
  52. [INFO] ShortRevision tag detected. The value is '6'.
  53. [INFO] Executing: cmd.exe /X /C "git rev-parse --verify --short=6 HEAD"
  54. [INFO] Working directory: C:\Documents and Settings\AISYA\git\openmrs-core
  55. [INFO] Storing buildNumber: 0 at timestamp: 1366400024669
  56. [INFO] ShortRevision tag detected. The value is '6'.
  57. [INFO] Executing: cmd.exe /X /C "git rev-parse --verify --short=6 HEAD"
  58. [INFO] Working directory: C:\Documents and Settings\AISYA\git\openmrs-core
  59. [INFO] Storing buildScmBranch: UNKNOWN_BRANCH
  60. [INFO]
  61. [INFO] --- build-helper-maven-plugin:1.5:parse-version (parse-version) @ openmrs ---
  62. [INFO]
  63. [INFO] --- maven-jar-plugin:2.3.2:test-jar (default) @ openmrs ---
  64. [WARNING] JAR will be empty - no content was marked for inclusion!
  65. [INFO] Building jar: C:\Documents and Settings\AISYA\git\openmrs-core\target\openmrs-1.10.0-SNAPSHOT-tests.jar
  66. [INFO]
  67. [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ openmrs ---
  68. [INFO] Installing C:\Documents and Settings\AISYA\git\openmrs-core\pom.xml to C:\Documents and Settings\AISYA\.m2\repository\org\openmrs\openmrs\1.10.0-SNAPSHOT\openmrs-1.10.0-SNAPSHOT.pom
  69. [INFO] Installing C:\Documents and Settings\AISYA\git\openmrs-core\target\openmrs-1.10.0-SNAPSHOT-tests.jar to C:\Documents and Settings\AISYA\.m2\repository\org\openmrs\openmrs\1.10.0-SNAPSHOT\openmrs-1.10.0-SNAPSHOT-tests.jar
  70. [INFO]                                                                        
  71. [INFO] ------------------------------------------------------------------------
  72. [INFO] Building openmrs-tools 1.10.0-SNAPSHOT
  73. [INFO] ------------------------------------------------------------------------
  74. [INFO]
  75. [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ openmrs-tools ---
  76. [INFO] Deleting C:\Documents and Settings\AISYA\git\openmrs-core\tools\target
  77. [INFO]
  78. [INFO] --- buildnumber-maven-plugin:1.1:create (default) @ openmrs-tools ---
  79. [INFO]
  80. [INFO] --- build-helper-maven-plugin:1.5:parse-version (parse-version) @ openmrs-tools ---
  81. [INFO]
  82. [INFO] --- maven-resources-plugin:2.4:resources (default-resources) @ openmrs-tools ---
  83. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  84. [INFO] Copying 7 resources
  85. [INFO]
  86. [INFO] --- maven-compiler-plugin:2.1:compile (default-compile) @ openmrs-tools ---
  87. [INFO] Compiling 1 source file to C:\Documents and Settings\AISYA\git\openmrs-core\tools\target\classes
  88. [INFO]
  89. [INFO] --- maven-resources-plugin:2.4:testResources (default-testResources) @ openmrs-tools ---
  90. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  91. [INFO] skip non existing resourceDirectory C:\Documents and Settings\AISYA\git\openmrs-core\tools\src\test\resources
  92. [INFO]
  93. [INFO] --- maven-compiler-plugin:2.1:testCompile (default-testCompile) @ openmrs-tools ---
  94. [INFO] No sources to compile
  95. [INFO]
  96. [INFO] --- maven-surefire-plugin:2.5:test (default-test) @ openmrs-tools ---
  97. [INFO] No tests to run.
  98. [INFO]
  99. [INFO] --- maven-jar-plugin:2.3.2:jar (default-jar) @ openmrs-tools ---
  100. [INFO] Building jar: C:\Documents and Settings\AISYA\git\openmrs-core\tools\target\openmrs-tools-1.10.0-SNAPSHOT.jar
  101. [INFO]
  102. [INFO] --- maven-jar-plugin:2.3.2:test-jar (default) @ openmrs-tools ---
  103. [WARNING] JAR will be empty - no content was marked for inclusion!
  104. [INFO] Building jar: C:\Documents and Settings\AISYA\git\openmrs-core\tools\target\openmrs-tools-1.10.0-SNAPSHOT-tests.jar
  105. [INFO]
  106. [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ openmrs-tools ---
  107. [INFO] Installing C:\Documents and Settings\AISYA\git\openmrs-core\tools\target\openmrs-tools-1.10.0-SNAPSHOT.jar to C:\Documents and Settings\AISYA\.m2\repository\org\openmrs\tools\openmrs-tools\1.10.0-SNAPSHOT\openmrs-tools-1.10.0-SNAPSHOT.jar
  108. [INFO] Installing C:\Documents and Settings\AISYA\git\openmrs-core\tools\pom.xml to C:\Documents and Settings\AISYA\.m2\repository\org\openmrs\tools\openmrs-tools\1.10.0-SNAPSHOT\openmrs-tools-1.10.0-SNAPSHOT.pom
  109. [INFO] Installing C:\Documents and Settings\AISYA\git\openmrs-core\tools\target\openmrs-tools-1.10.0-SNAPSHOT-tests.jar to C:\Documents and Settings\AISYA\.m2\repository\org\openmrs\tools\openmrs-tools\1.10.0-SNAPSHOT\openmrs-tools-1.10.0-SNAPSHOT-tests.jar
  110. [INFO]                                                                        
  111. [INFO] ------------------------------------------------------------------------
  112. [INFO] Building openmrs-test 1.10.0-SNAPSHOT
  113. [INFO] ------------------------------------------------------------------------
  114. [INFO]
  115. [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ openmrs-test ---
  116. [INFO] Deleting C:\Documents and Settings\AISYA\git\openmrs-core\test\target
  117. [INFO]
  118. [INFO] --- buildnumber-maven-plugin:1.1:create (default) @ openmrs-test ---
  119. [INFO]
  120. [INFO] --- build-helper-maven-plugin:1.5:parse-version (parse-version) @ openmrs-test ---
  121. [INFO]
  122. [INFO] --- maven-jar-plugin:2.3.2:test-jar (default) @ openmrs-test ---
  123. [WARNING] JAR will be empty - no content was marked for inclusion!
  124. [INFO] Building jar: C:\Documents and Settings\AISYA\git\openmrs-core\test\target\openmrs-test-1.10.0-SNAPSHOT-tests.jar
  125. [INFO]
  126. [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ openmrs-test ---
  127. [INFO] Installing C:\Documents and Settings\AISYA\git\openmrs-core\test\pom.xml to C:\Documents and Settings\AISYA\.m2\repository\org\openmrs\test\openmrs-test\1.10.0-SNAPSHOT\openmrs-test-1.10.0-SNAPSHOT.pom
  128. [INFO] Installing C:\Documents and Settings\AISYA\git\openmrs-core\test\target\openmrs-test-1.10.0-SNAPSHOT-tests.jar to C:\Documents and Settings\AISYA\.m2\repository\org\openmrs\test\openmrs-test\1.10.0-SNAPSHOT\openmrs-test-1.10.0-SNAPSHOT-tests.jar
  129. [INFO]                                                                        
  130. [INFO] ------------------------------------------------------------------------
  131. [INFO] Building openmrs-api 1.10.0-SNAPSHOT
  132. [INFO] ------------------------------------------------------------------------
  133. [INFO]
  134. [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ openmrs-api ---
  135. [INFO] Deleting C:\Documents and Settings\AISYA\git\openmrs-core\api\target
  136. [INFO]
  137. [INFO] --- buildnumber-maven-plugin:1.1:create (default) @ openmrs-api ---
  138. [INFO]
  139. [INFO] --- build-helper-maven-plugin:1.5:parse-version (parse-version) @ openmrs-api ---
  140. [INFO]
  141. [INFO] --- maven-java-formatter-plugin:0.3:format (default) @ openmrs-api ---
  142. [INFO] Using 'UTF-8' encoding to format source files.
  143. [INFO] Number of files to be formatted: 936
  144. [INFO] Successfully formatted: 0 file(s)
  145. [INFO] Fail to format        : 0 file(s)
  146. [INFO] Skipped               : 936 file(s)
  147. [INFO] Approximate time taken: 4s
  148. [INFO]
  149. [INFO] --- maven-resources-plugin:2.4:resources (default-resources) @ openmrs-api ---
  150. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  151. [INFO] Copying 101 resources
  152. [INFO]
  153. [INFO] --- maven-compiler-plugin:2.1:compile (default-compile) @ openmrs-api ---
  154. [INFO] Compiling 707 source files to C:\Documents and Settings\AISYA\git\openmrs-core\api\target\classes
  155. [INFO]
  156. [INFO] --- maven-resources-plugin:2.4:testResources (default-testResources) @ openmrs-api ---
  157. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  158. [INFO] Copying 93 resources
  159. [INFO]
  160. [INFO] --- maven-compiler-plugin:2.1:testCompile (default-testCompile) @ openmrs-api ---
  161. [INFO] Compiling 229 source files to C:\Documents and Settings\AISYA\git\openmrs-core\api\target\test-classes
  162. [INFO]
  163. [INFO] --- maven-surefire-plugin:2.5:test (default-test) @ openmrs-api ---
  164. [INFO] Surefire report directory: C:\Documents and Settings\AISYA\git\openmrs-core\api\target\surefire-reports
  165. Error occurred during initialization of VM
  166. Could not reserve enough space for object heap
  167. Could not create the Java virtual machine.
  168. [INFO] ------------------------------------------------------------------------
  169. [INFO] Reactor Summary:
  170. [INFO]
  171. [INFO] OpenMRS ........................................... SUCCESS [1.829s]
  172. [INFO] openmrs-tools ..................................... SUCCESS [1.578s]
  173. [INFO] openmrs-test ...................................... SUCCESS [0.297s]
  174. [INFO] openmrs-api ....................................... FAILURE [34.328s]
  175. [INFO] openmrs-web ....................................... SKIPPED
  176. [INFO] openmrs-webapp .................................... SKIPPED
  177. [INFO] openmrs-release-test .............................. SKIPPED
  178. [INFO] ------------------------------------------------------------------------
  179. [INFO] BUILD FAILURE
  180. [INFO] ------------------------------------------------------------------------
  181. [INFO] Total time: 38.469s
  182. [INFO] Finished at: Fri Apr 19 15:34:21 EDT 2013
  183. [INFO] Final Memory: 24M/106M
  184. [INFO] ------------------------------------------------------------------------
  185. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.5:test (default-test) on project openmrs-api: There are test failures.
  186. [ERROR]
  187. [ERROR] Please refer to C:\Documents and Settings\AISYA\git\openmrs-core\api\target\surefire-reports for the individual test results.
  188. [ERROR] -> [Help 1]
  189. [ERROR]
  190. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  191. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  192. [ERROR]
  193. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  194. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
  195. [ERROR]
  196. [ERROR] After correcting the problems, you can resume the build with the command
  197. [ERROR]   mvn <goals> -rf :openmrs-api
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement