Advertisement
Guest User

Build Failure: metadtamapping-1.2.1 module

a guest
Dec 28th, 2016
28
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 10.77 KB | None
  1. root@parth-Inspiron-7559:/home/parth/Documents/OpenMRS/modules/openmrs-module-metadatamapping-1.2.1# mvn clean install -DskipTests
  2. [INFO] Scanning for projects...
  3. [INFO] ------------------------------------------------------------------------
  4. [INFO] Reactor Build Order:
  5. [INFO]
  6. [INFO] Metadata Mapping Module
  7. [INFO] Metadata Mapping Module API Common
  8. [INFO] Metadata Mapping Module OWA
  9. [INFO] Metadata Mapping Module OMOD
  10. [INFO]                                                                        
  11. [INFO] ------------------------------------------------------------------------
  12. [INFO] Building Metadata Mapping Module 1.2.1
  13. [INFO] ------------------------------------------------------------------------
  14. [INFO]
  15. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ metadatamapping ---
  16. [INFO]
  17. [INFO] --- build-helper-maven-plugin:1.7:parse-version (default) @ metadatamapping ---
  18. [INFO]
  19. [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ metadatamapping ---
  20. [INFO] Installing /home/parth/Documents/OpenMRS/modules/openmrs-module-metadatamapping-1.2.1/pom.xml to /root/.m2/repository/org/openmrs/module/metadatamapping/1.2.1/metadatamapping-1.2.1.pom
  21. [INFO]                                                                        
  22. [INFO] ------------------------------------------------------------------------
  23. [INFO] Building Metadata Mapping Module API Common 1.2.1
  24. [INFO] ------------------------------------------------------------------------
  25. [INFO]
  26. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ metadatamapping-api ---
  27. [INFO]
  28. [INFO] --- build-helper-maven-plugin:1.7:parse-version (default) @ metadatamapping-api ---
  29. [INFO]
  30. [INFO] --- maven-java-formatter-plugin:0.3:format (default) @ metadatamapping-api ---
  31. [INFO] Using 'UTF-8' encoding to format source files.
  32. [INFO] Number of files to be formatted: 30
  33. [INFO] Successfully formatted: 0 file(s)
  34. [INFO] Fail to format        : 0 file(s)
  35. [INFO] Skipped               : 30 file(s)
  36. [INFO] Approximate time taken: 0s
  37. [INFO]
  38. [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ metadatamapping-api ---
  39. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  40. [INFO] Copying 0 resource
  41. [INFO] Copying 7 resources
  42. [INFO]
  43. [INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ metadatamapping-api ---
  44. [INFO] Changes detected - recompiling the module!
  45. [INFO] Compiling 24 source files to /home/parth/Documents/OpenMRS/modules/openmrs-module-metadatamapping-1.2.1/api/target/classes
  46. [WARNING] /home/parth/Documents/OpenMRS/modules/openmrs-module-metadatamapping-1.2.1/api/src/main/java/org/openmrs/module/metadatamapping/api/MetadataTermMappingSearchCriteriaBuilder.java:[3,52] com.sun.org.apache.xpath.internal.operations.Bool is internal proprietary API and may be removed in a future release
  47. [INFO] /home/parth/Documents/OpenMRS/modules/openmrs-module-metadatamapping-1.2.1/api/src/main/java/org/openmrs/module/metadatamapping/util/ModuleProperties.java: Some input files use or override a deprecated API.
  48. [INFO] /home/parth/Documents/OpenMRS/modules/openmrs-module-metadatamapping-1.2.1/api/src/main/java/org/openmrs/module/metadatamapping/util/ModuleProperties.java: Recompile with -Xlint:deprecation for details.
  49. [INFO] /home/parth/Documents/OpenMRS/modules/openmrs-module-metadatamapping-1.2.1/api/src/main/java/org/openmrs/module/metadatamapping/api/db/hibernate/HibernateMetadataMappingDAO.java: /home/parth/Documents/OpenMRS/modules/openmrs-module-metadatamapping-1.2.1/api/src/main/java/org/openmrs/module/metadatamapping/api/db/hibernate/HibernateMetadataMappingDAO.java uses unchecked or unsafe operations.
  50. [INFO] /home/parth/Documents/OpenMRS/modules/openmrs-module-metadatamapping-1.2.1/api/src/main/java/org/openmrs/module/metadatamapping/api/db/hibernate/HibernateMetadataMappingDAO.java: Recompile with -Xlint:unchecked for details.
  51. [INFO]
  52. [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ metadatamapping-api ---
  53. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  54. [INFO] Copying 0 resource
  55. [INFO] Copying 7 resources
  56. [INFO]
  57. [INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ metadatamapping-api ---
  58. [INFO] Changes detected - recompiling the module!
  59. [INFO] Compiling 6 source files to /home/parth/Documents/OpenMRS/modules/openmrs-module-metadatamapping-1.2.1/api/target/test-classes
  60. [INFO] /home/parth/Documents/OpenMRS/modules/openmrs-module-metadatamapping-1.2.1/api/src/test/java/org/openmrs/module/metadatamapping/util/ModulePropertiesComponentTest.java: /home/parth/Documents/OpenMRS/modules/openmrs-module-metadatamapping-1.2.1/api/src/test/java/org/openmrs/module/metadatamapping/util/ModulePropertiesComponentTest.java uses or overrides a deprecated API.
  61. [INFO] /home/parth/Documents/OpenMRS/modules/openmrs-module-metadatamapping-1.2.1/api/src/test/java/org/openmrs/module/metadatamapping/util/ModulePropertiesComponentTest.java: Recompile with -Xlint:deprecation for details.
  62. [INFO]
  63. [INFO] --- maven-surefire-plugin:2.12:test (default-test) @ metadatamapping-api ---
  64. [INFO] Tests are skipped.
  65. [INFO]
  66. [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ metadatamapping-api ---
  67. [INFO] Building jar: /home/parth/Documents/OpenMRS/modules/openmrs-module-metadatamapping-1.2.1/api/target/metadatamapping-api-1.2.1.jar
  68. [INFO]
  69. [INFO] --- maven-jar-plugin:2.4:test-jar (default) @ metadatamapping-api ---
  70. [INFO] Building jar: /home/parth/Documents/OpenMRS/modules/openmrs-module-metadatamapping-1.2.1/api/target/metadatamapping-api-1.2.1-tests.jar
  71. [INFO]
  72. [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ metadatamapping-api ---
  73. [INFO] Installing /home/parth/Documents/OpenMRS/modules/openmrs-module-metadatamapping-1.2.1/api/target/metadatamapping-api-1.2.1.jar to /root/.m2/repository/org/openmrs/module/metadatamapping-api/1.2.1/metadatamapping-api-1.2.1.jar
  74. [INFO] Installing /home/parth/Documents/OpenMRS/modules/openmrs-module-metadatamapping-1.2.1/api/pom.xml to /root/.m2/repository/org/openmrs/module/metadatamapping-api/1.2.1/metadatamapping-api-1.2.1.pom
  75. [INFO] Installing /home/parth/Documents/OpenMRS/modules/openmrs-module-metadatamapping-1.2.1/api/target/metadatamapping-api-1.2.1-tests.jar to /root/.m2/repository/org/openmrs/module/metadatamapping-api/1.2.1/metadatamapping-api-1.2.1-tests.jar
  76. [INFO]                                                                        
  77. [INFO] ------------------------------------------------------------------------
  78. [INFO] Building Metadata Mapping Module OWA 1.2.1
  79. [INFO] ------------------------------------------------------------------------
  80. [INFO]
  81. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ metadatamapping-owa ---
  82. [INFO]
  83. [INFO] --- build-helper-maven-plugin:1.7:parse-version (default) @ metadatamapping-owa ---
  84. [INFO]
  85. [INFO] --- frontend-maven-plugin:1.0:install-node-and-npm (install node and npm) @ metadatamapping-owa ---
  86. [INFO] Node v5.3.0 is already installed.
  87. [INFO] NPM 3.9.6 is already installed.
  88. [INFO]
  89. [INFO] --- frontend-maven-plugin:1.0:npm (npm install) @ metadatamapping-owa ---
  90. [INFO] Running 'npm install' in /home/parth/Documents/OpenMRS/modules/openmrs-module-metadatamapping-1.2.1/owa
  91. [WARNING] npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
  92. [WARNING] npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.15
  93. [INFO]
  94. [INFO] --- frontend-maven-plugin:1.0:npm (npm build) @ metadatamapping-owa ---
  95. [INFO] Running 'npm run build:prod' in /home/parth/Documents/OpenMRS/modules/openmrs-module-metadatamapping-1.2.1/owa
  96. [INFO]
  97. [INFO] > metadatamapping@1.2.0-SNAPSHOT build:prod /home/parth/Documents/OpenMRS/modules/openmrs-module-metadatamapping-1.2.1/owa
  98. [INFO] > npm run test && npm run build
  99. [INFO]
  100. [INFO]
  101. [INFO] > metadatamapping@1.2.0-SNAPSHOT test /home/parth/Documents/OpenMRS/modules/openmrs-module-metadatamapping-1.2.1/owa
  102. [INFO] > echo "Error: no test specified"
  103. [INFO]
  104. [INFO] Error: no test specified
  105. [INFO]
  106. [INFO] > metadatamapping@1.2.0-SNAPSHOT build /home/parth/Documents/OpenMRS/modules/openmrs-module-metadatamapping-1.2.1/owa
  107. [INFO] > npm run clean && webpack --progress --colors --mode=production --target=web
  108. [INFO]
  109. [INFO]
  110. [INFO] > metadatamapping@1.2.0-SNAPSHOT clean /home/parth/Documents/OpenMRS/modules/openmrs-module-metadatamapping-1.2.1/owa
  111. [INFO] > rimraf dist && rimraf coverage*
  112. [INFO]
  113. [INFO] Hash: 3dbc0bf2a4711ddf5e5b
  114. [INFO] Version: webpack 1.14.0
  115. [INFO] Time: 18686ms
  116. [INFO]               Asset       Size  Chunks             Chunk Names
  117. [INFO]   app.bundle.min.js    40.5 kB       0  [emitted]  app
  118. [INFO]   css.bundle.min.js    4.38 kB       1  [emitted]  css
  119. [INFO]    vendor.bundle.js    1.42 MB       2  [emitted]  vendor
  120. [INFO]          index.html  330 bytes          [emitted]  
  121. [INFO]     manifest.webapp  422 bytes          [emitted]  
  122. [INFO] img/omrs-button.png    3.19 kB          [emitted]  
  123. [INFO]    [0] multi vendor 40 bytes {2} [built]
  124. [INFO]     + 22 hidden modules
  125. [INFO] Child html-webpack-plugin for "index.html":
  126. [INFO]         + 1 hidden modules
  127.                            
  128. [INFO]
  129. [INFO] --- maven-assembly-plugin:2.4.1:single (zip-owa) @ metadatamapping-owa ---
  130. [INFO] Reading assembly descriptor: assembly.xml
  131. [INFO] ------------------------------------------------------------------------
  132. [INFO] Reactor Summary:
  133. [INFO]
  134. [INFO] Metadata Mapping Module ............................ SUCCESS [  0.266 s]
  135. [INFO] Metadata Mapping Module API Common ................. SUCCESS [  2.407 s]
  136. [INFO] Metadata Mapping Module OWA ........................ FAILURE [ 29.534 s]
  137. [INFO] Metadata Mapping Module OMOD ....................... SKIPPED
  138. [INFO] ------------------------------------------------------------------------
  139. [INFO] BUILD FAILURE
  140. [INFO] ------------------------------------------------------------------------
  141. [INFO] Total time: 32.517 s
  142. [INFO] Finished at: 2016-12-29T10:11:31+05:30
  143. [INFO] Final Memory: 41M/596M
  144. [INFO] ------------------------------------------------------------------------
  145. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.4.1:single (zip-owa) on project metadatamapping-owa: Assembly is incorrectly configured: null: Assembly is incorrectly configured: null:
  146. [ERROR] Assembly: null is not configured correctly: Assembly ID must be present and non-empty.
  147. [ERROR] -> [Help 1]
  148. [ERROR]
  149. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  150. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  151. [ERROR]
  152. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  153. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
  154. [ERROR]
  155. [ERROR] After correcting the problems, you can resume the build with the command
  156. [ERROR]   mvn <goals> -rf :metadatamapping-owa
Advertisement
RAW Paste Data Copied
Advertisement