Advertisement
Guest User

Untitled

a guest
Oct 29th, 2019
868
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.46 KB | None | 0 0
  1.  
  2. Cliff@Cliff-PC MINGW64 ~/Desktop (stable2)
  3. $ mvn openmrs-sdk:setup
  4. [INFO] Scanning for projects...
  5. [INFO]
  6. [INFO] ------------------< org.apache.maven:standalone-pom >-------------------
  7. [INFO] Building Maven Stub Project (No POM) 1
  8. [INFO] --------------------------------[ pom ]---------------------------------
  9. [INFO]
  10. [INFO] --- openmrs-sdk-maven-plugin:3.13.2:setup (default-cli) @ standalone-pom ---
  11.  
  12. Setting up a new server...
  13.  
  14. Specify server id (-DserverId) (default: 'server'): serverh2
  15.  
  16. You can setup the following servers:
  17. 1) Distribution
  18. 2) Platform
  19.  
  20. Which one do you choose? [1/2]: 1
  21. [INFO] artifact org.openmrs.distro:referenceapplication-package: checking for updates from openmrs-repo
  22. [INFO] artifact org.openmrs.distro:referenceapplication-package: checking for updates from openmrs-repo-thirdparty
  23. [INFO] artifact org.openmrs.distro:referenceapplication-package: checking for updates from openmrs-bintray-repo
  24. [INFO] artifact org.openmrs.distro:referenceapplication-package: checking for updates from central
  25.  
  26. You can deploy the following versions of distribution:
  27. 1) Reference Application 2.10.0-SNAPSHOT
  28. 2) Reference Application 2.9.0
  29. 3) Reference Application 2.8.1
  30. 4) Reference Application 2.7.0
  31. 5) Reference Application 2.6.1
  32. 6) Other...
  33.  
  34. Which one do you choose? [1/2/3/4/5/6]: 2
  35. [INFO] Configured Artifact: org.openmrs.distro:referenceapplication-package:2.9.0:jar
  36. [INFO] Copying referenceapplication-package-2.9.0.jar to C:\Users\Cliff\openmrs\serverh2\openmrs-distro.jar
  37. [INFO] Configured Artifact: org.openmrs.web:openmrs-webapp:2.1.4:war
  38. [INFO] Copying openmrs-webapp-2.1.4.war to C:\Users\Cliff\openmrs\serverh2\openmrs-2.1.4.war
  39. [INFO] Configured Artifact: org.openmrs.module:addresshierarchy-omod:2.11.0:jar
  40. [INFO] Configured Artifact: org.openmrs.module:legacyui-omod:1.5.0:jar
  41. [INFO] Configured Artifact: org.openmrs.module:metadatadeploy-omod:1.11.0:jar
  42. [INFO] Configured Artifact: org.openmrs.module:reportingrest-omod:1.10.0:jar
  43. [INFO] Configured Artifact: org.openmrs.module:owa-omod:1.10.0:jar
  44. [INFO] Configured Artifact: org.openmrs.module:serialization.xstream-omod:0.2.14:omod
  45. [INFO] Configured Artifact: org.openmrs.module:registrationapp-omod:1.13.0:jar
  46. [INFO] Configured Artifact: org.openmrs:event-omod:2.7.0:jar
  47. [INFO] Configured Artifact: org.openmrs.module:uilibrary-omod:2.0.6:jar
  48. [INFO] Configured Artifact: org.openmrs.module:htmlwidgets-omod:1.10.0:jar
  49. [INFO] Configured Artifact: org.openmrs.module:dataexchange-omod:1.3.3:jar
  50. [INFO] Configured Artifact: org.openmrs.module:appui-omod:1.9.0:jar
  51. [INFO] Configured Artifact: org.openmrs.module:allergyui-omod:1.8.1:jar
  52. [INFO] Configured Artifact: org.openmrs.module:providermanagement-omod:2.10.0:jar
  53. [INFO] Configured Artifact: org.openmrs.module:appointmentschedulingui-omod:1.7.0:jar
  54. [INFO] Configured Artifact: org.openmrs.module:attachments-omod:2.1.0:jar
  55. [INFO] Configured Artifact: org.openmrs.module:formentryapp-omod:1.4.2:jar
  56. [INFO] Configured Artifact: org.openmrs.module:idgen-omod:4.5.0:jar
  57. [INFO] Configured Artifact: org.openmrs.module:metadatamapping-omod:1.3.4:jar
  58. [INFO] Configured Artifact: org.openmrs.module:chartsearch-omod:2.1.0:jar
  59. [INFO] Configured Artifact: org.openmrs.module:fhir-omod:1.18.0:jar
  60. [INFO] Configured Artifact: org.openmrs.module:htmlformentryui-omod:1.7.0:jar
  61. [INFO] Configured Artifact: org.openmrs.module:referencedemodata-omod:1.4.4:jar
  62. [INFO] Configured Artifact: org.openmrs.module:emrapi-omod:1.27.0:jar
  63. [INFO] Configured Artifact: org.openmrs.module:referenceapplication-omod:2.9.0:jar
  64. [INFO] Configured Artifact: org.openmrs.module:htmlformentry-omod:3.8.0:jar
  65. [INFO] Configured Artifact: org.openmrs.module:appframework-omod:2.13.0:jar
  66. [INFO] Configured Artifact: org.openmrs.module:referencemetadata-omod:2.9.0:jar
  67. [INFO] Configured Artifact: org.openmrs.module:reportingui-omod:1.6.0:jar
  68. [INFO] Configured Artifact: org.openmrs.module:coreapps-omod:1.21.0:jar
  69. [INFO] Configured Artifact: org.openmrs.module:reportingcompatibility-omod:2.0.6:jar
  70. [INFO] Configured Artifact: org.openmrs.module:reporting-omod:1.17.0:jar
  71. [INFO] Configured Artifact: org.openmrs.module:adminui-omod:1.2.4:jar
  72. [INFO] Configured Artifact: org.openmrs.module:registrationcore-omod:1.8.0:jar
  73. [INFO] Configured Artifact: org.openmrs.module:appointmentscheduling-omod:1.10.0:jar
  74. [INFO] Configured Artifact: org.openmrs.module:calculation-omod:1.2:jar
  75. [INFO] Configured Artifact: org.openmrs.module:webservices.rest-omod:2.24.0:jar
  76. [INFO] Configured Artifact: org.openmrs.module:atlas-omod:2.2:omod
  77. [INFO] Configured Artifact: org.openmrs.module:uicommons-omod:2.6.1:jar
  78. [INFO] Configured Artifact: org.openmrs.module:uiframework-omod:3.15.0:jar
  79. [INFO] Configured Artifact: org.openmrs.module:metadatasharing-omod:1.5.0:jar
  80. [INFO] Copying addresshierarchy-omod-2.11.0.jar to C:\Users\Cliff\openmrs\serverh2\modules\addresshierarchy-2.11.0.omod
  81. [INFO] Copying legacyui-omod-1.5.0.jar to C:\Users\Cliff\openmrs\serverh2\modules\legacyui-1.5.0.omod
  82. [INFO] Copying metadatadeploy-omod-1.11.0.jar to C:\Users\Cliff\openmrs\serverh2\modules\metadatadeploy-1.11.0.omod
  83. [INFO] Copying reportingrest-omod-1.10.0.jar to C:\Users\Cliff\openmrs\serverh2\modules\reportingrest-1.10.0.omod
  84. [INFO] Copying owa-omod-1.10.0.jar to C:\Users\Cliff\openmrs\serverh2\modules\owa-1.10.0.omod
  85. [INFO] Copying serialization.xstream-omod-0.2.14.omod to C:\Users\Cliff\openmrs\serverh2\modules\serialization.xstream-0.2.14.omod
  86. [INFO] Copying registrationapp-omod-1.13.0.jar to C:\Users\Cliff\openmrs\serverh2\modules\registrationapp-1.13.0.omod
  87. [INFO] Copying event-omod-2.7.0.jar to C:\Users\Cliff\openmrs\serverh2\modules\event-2.7.0.omod
  88. [INFO] Copying uilibrary-omod-2.0.6.jar to C:\Users\Cliff\openmrs\serverh2\modules\uilibrary-2.0.6.omod
  89. [INFO] Copying htmlwidgets-omod-1.10.0.jar to C:\Users\Cliff\openmrs\serverh2\modules\htmlwidgets-1.10.0.omod
  90. [INFO] Copying dataexchange-omod-1.3.3.jar to C:\Users\Cliff\openmrs\serverh2\modules\dataexchange-1.3.3.omod
  91. [INFO] Copying appui-omod-1.9.0.jar to C:\Users\Cliff\openmrs\serverh2\modules\appui-1.9.0.omod
  92. [INFO] Copying allergyui-omod-1.8.1.jar to C:\Users\Cliff\openmrs\serverh2\modules\allergyui-1.8.1.omod
  93. [INFO] Copying providermanagement-omod-2.10.0.jar to C:\Users\Cliff\openmrs\serverh2\modules\providermanagement-2.10.0.omod
  94. [INFO] Copying appointmentschedulingui-omod-1.7.0.jar to C:\Users\Cliff\openmrs\serverh2\modules\appointmentschedulingui-1.7.0.omod
  95. [INFO] Copying attachments-omod-2.1.0.jar to C:\Users\Cliff\openmrs\serverh2\modules\attachments-2.1.0.omod
  96. [INFO] Copying formentryapp-omod-1.4.2.jar to C:\Users\Cliff\openmrs\serverh2\modules\formentryapp-1.4.2.omod
  97. [INFO] Copying idgen-omod-4.5.0.jar to C:\Users\Cliff\openmrs\serverh2\modules\idgen-4.5.0.omod
  98. [INFO] Copying metadatamapping-omod-1.3.4.jar to C:\Users\Cliff\openmrs\serverh2\modules\metadatamapping-1.3.4.omod
  99. [INFO] Copying chartsearch-omod-2.1.0.jar to C:\Users\Cliff\openmrs\serverh2\modules\chartsearch-2.1.0.omod
  100. [INFO] Copying fhir-omod-1.18.0.jar to C:\Users\Cliff\openmrs\serverh2\modules\fhir-1.18.0.omod
  101. [INFO] Copying htmlformentryui-omod-1.7.0.jar to C:\Users\Cliff\openmrs\serverh2\modules\htmlformentryui-1.7.0.omod
  102. [INFO] Copying referencedemodata-omod-1.4.4.jar to C:\Users\Cliff\openmrs\serverh2\modules\referencedemodata-1.4.4.omod
  103. [INFO] Copying emrapi-omod-1.27.0.jar to C:\Users\Cliff\openmrs\serverh2\modules\emrapi-1.27.0.omod
  104. [INFO] Copying referenceapplication-omod-2.9.0.jar to C:\Users\Cliff\openmrs\serverh2\modules\referenceapplication-2.9.0.omod
  105. [INFO] Copying htmlformentry-omod-3.8.0.jar to C:\Users\Cliff\openmrs\serverh2\modules\htmlformentry-3.8.0.omod
  106. [INFO] Copying appframework-omod-2.13.0.jar to C:\Users\Cliff\openmrs\serverh2\modules\appframework-2.13.0.omod
  107. [INFO] Copying referencemetadata-omod-2.9.0.jar to C:\Users\Cliff\openmrs\serverh2\modules\referencemetadata-2.9.0.omod
  108. [INFO] Copying reportingui-omod-1.6.0.jar to C:\Users\Cliff\openmrs\serverh2\modules\reportingui-1.6.0.omod
  109. [INFO] Copying coreapps-omod-1.21.0.jar to C:\Users\Cliff\openmrs\serverh2\modules\coreapps-1.21.0.omod
  110. [INFO] Copying reportingcompatibility-omod-2.0.6.jar to C:\Users\Cliff\openmrs\serverh2\modules\reportingcompatibility-2.0.6.omod
  111. [INFO] Copying reporting-omod-1.17.0.jar to C:\Users\Cliff\openmrs\serverh2\modules\reporting-1.17.0.omod
  112. [INFO] Copying adminui-omod-1.2.4.jar to C:\Users\Cliff\openmrs\serverh2\modules\adminui-1.2.4.omod
  113. [INFO] Copying registrationcore-omod-1.8.0.jar to C:\Users\Cliff\openmrs\serverh2\modules\registrationcore-1.8.0.omod
  114. [INFO] Copying appointmentscheduling-omod-1.10.0.jar to C:\Users\Cliff\openmrs\serverh2\modules\appointmentscheduling-1.10.0.omod
  115. [INFO] Copying calculation-omod-1.2.jar to C:\Users\Cliff\openmrs\serverh2\modules\calculation-1.2.omod
  116. [INFO] Copying webservices.rest-omod-2.24.0.jar to C:\Users\Cliff\openmrs\serverh2\modules\webservices.rest-2.24.0.omod
  117. [INFO] Copying atlas-omod-2.2.omod to C:\Users\Cliff\openmrs\serverh2\modules\atlas-2.2.omod
  118. [INFO] Copying uicommons-omod-2.6.1.jar to C:\Users\Cliff\openmrs\serverh2\modules\uicommons-2.6.1.omod
  119. [INFO] Copying uiframework-omod-3.15.0.jar to C:\Users\Cliff\openmrs\serverh2\modules\uiframework-3.15.0.omod
  120. [INFO] Copying metadatasharing-omod-1.5.0.jar to C:\Users\Cliff\openmrs\serverh2\modules\metadatasharing-1.5.0.omod
  121.  
  122. What port would you like your server to use? (default: '8080'): 8081
  123.  
  124. If you want to enable remote debugging by default when running the server,
  125. specify the port number here (e.g. 1044). Leave blank to disable debugging.
  126. (Do not do this on a production server) (default: 'no debugging'):
  127.  
  128. Which database would you like to use?:
  129. 1) MySQL 5.6 (requires pre-installed MySQL 5.6)
  130. 2) MySQL 5.6 in SDK docker container (requires pre-installed Docker)
  131. 3) Existing docker container (requires pre-installed Docker)
  132.  
  133. Which one do you choose? [1/2/3]: 1
  134.  
  135. The distribution requires MySQL database. Please specify database uri (-DdbUri) (default: 'jdbc:mysql://localhost:3306/@DBNAME@'):
  136.  
  137. Please specify database username (-DdbUser) (default: 'root'):
  138. [INFO] ------------------------------------------------------------------------
  139. [INFO] BUILD FAILURE
  140. [INFO] ------------------------------------------------------------------------
  141. [INFO] Total time: 09:49 min
  142. [INFO] Finished at: 2019-10-29T11:17:37+03:00
  143. [INFO] ------------------------------------------------------------------------
  144. [ERROR] Failed to execute goal org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:3.13.2:setup (default-cli) on project standalone-pom: Failed to setup server: NullPointerException -> [Help 1]
  145. [ERROR]
  146. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  147. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  148. [ERROR]
  149. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  150. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
  151.  
  152. Cliff@Cliff-PC MINGW64 ~/Desktop (stable2)
  153. $ mvn openmrs-sdk:setup
  154. [INFO] Scanning for projects...
  155. [INFO]
  156. [INFO] ------------------< org.apache.maven:standalone-pom >-------------------
  157. [INFO] Building Maven Stub Project (No POM) 1
  158. [INFO] --------------------------------[ pom ]---------------------------------
  159. [INFO]
  160. [INFO] --- openmrs-sdk-maven-plugin:3.13.2:setup (default-cli) @ standalone-pom ---
  161.  
  162. Setting up a new server...
  163.  
  164. Specify server id (-DserverId) (default: 'server'): serverh2
  165.  
  166. You can setup the following servers:
  167. 1) Distribution
  168. 2) Platform
  169.  
  170. Which one do you choose? [1/2]: 2
  171. [INFO] artifact org.openmrs.distro:platform: checking for updates from openmrs-repo
  172. [INFO] artifact org.openmrs.distro:platform: checking for updates from openmrs-repo-thirdparty
  173. [INFO] artifact org.openmrs.distro:platform: checking for updates from openmrs-bintray-repo
  174. [INFO] artifact org.openmrs.distro:platform: checking for updates from central
  175.  
  176. You can deploy the following versions of a platform:
  177. 1) 2.3.0-beta
  178. 2) 2.2.0
  179. 3) 2.1.4
  180. 4) 2.0.7
  181. 5) 1.12.1
  182. 6) 1.11.7
  183. 7) Other...
  184.  
  185. Which one do you choose? [1/2/3/4/5/6/7]: 2
  186. [INFO] Configured Artifact: org.openmrs.distro:platform:2.2.0:jar
  187. [INFO] Copying platform-2.2.0.jar to C:\Users\Cliff\openmrs\serverh2\openmrs-distro.jar
  188. [INFO] Configured Artifact: org.openmrs.web:openmrs-webapp:2.2.0:war
  189. [INFO] Copying openmrs-webapp-2.2.0.war to C:\Users\Cliff\openmrs\serverh2\openmrs-2.2.0.war
  190. [INFO] Configured Artifact: org.openmrs.module:fhir-omod:1.18.0:jar
  191. [INFO] Configured Artifact: org.openmrs.module:webservices.rest-omod:2.23.0:jar
  192. [INFO] Configured Artifact: org.openmrs.module:owa-omod:1.10.0:jar
  193. [INFO] Copying fhir-omod-1.18.0.jar to C:\Users\Cliff\openmrs\serverh2\modules\fhir-1.18.0.omod
  194. [INFO] Copying webservices.rest-omod-2.23.0.jar to C:\Users\Cliff\openmrs\serverh2\modules\webservices.rest-2.23.0.omod
  195. [INFO] Copying owa-omod-1.10.0.jar to C:\Users\Cliff\openmrs\serverh2\modules\owa-1.10.0.omod
  196.  
  197. What port would you like your server to use? (default: '8080'): 8083
  198.  
  199. If you want to enable remote debugging by default when running the server,
  200. specify the port number here (e.g. 1044). Leave blank to disable debugging.
  201. (Do not do this on a production server) (default: 'no debugging'):
  202.  
  203. Which database would you like to use?:
  204. 1) MySQL 5.6 (requires pre-installed MySQL 5.6)
  205. 2) MySQL 5.6 in SDK docker container (requires pre-installed Docker)
  206. 3) Existing docker container (requires pre-installed Docker)
  207.  
  208. Which one do you choose? [1/2/3]: 1
  209.  
  210. The distribution requires MySQL database. Please specify database uri (-DdbUri) (default: 'jdbc:mysql://localhost:3306/@DBNAME@'):
  211.  
  212. Please specify database username (-DdbUser) (default: 'root'):
  213. [INFO] ------------------------------------------------------------------------
  214. [INFO] BUILD FAILURE
  215. [INFO] ------------------------------------------------------------------------
  216. [INFO] Total time: 01:33 min
  217. [INFO] Finished at: 2019-10-29T11:24:25+03:00
  218. [INFO] ------------------------------------------------------------------------
  219. [ERROR] Failed to execute goal org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:3.13.2:setup (default-cli) on project standalone-pom: Failed to setup server: NullPointerException -> [Help 1]
  220. [ERROR]
  221. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  222. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  223. [ERROR]
  224. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  225. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
  226.  
  227. Cliff@Cliff-PC MINGW64 ~/Desktop (stable2)
  228. $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement