Advertisement
Guest User

Untitled

a guest
Mar 15th, 2019
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.07 KB | None | 0 0
  1. Cliff@Cliff-PC MINGW64 ~ (stable2)
  2. $ mvn org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:setup-sdk
  3.  
  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-sdk (default-cli) @ standalone-pom ---
  11. [INFO] SDK installed successfully, settings file: C:\Users\Cliff\.m2\settings.xml
  12. [INFO] Now you can use sdk: mvn openmrs-sdk:<task_name>
  13. [INFO] ------------------------------------------------------------------------
  14. [INFO] BUILD SUCCESS
  15. [INFO] ------------------------------------------------------------------------
  16. [INFO] Total time: 18.067 s
  17. [INFO] Finished at: 2019-03-15T11:55:58+03:00
  18. [INFO] ------------------------------------------------------------------------
  19.  
  20. Cliff@Cliff-PC MINGW64 ~ (stable2)
  21. $
  22.  
  23. Cliff@Cliff-PC MINGW64 ~ (stable2)
  24. $ mvn openmrs-sdk:setup-sdk -U
  25. [INFO] Scanning for projects...
  26. Downloading from openmrs-bintray-repo: https://dl.bintray.com/openmrs/maven/org/openmrs/maven/plugins/maven-metadata.xml
  27. Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/maven/plugins/maven-metadata.xml
  28. Downloading from central: https://repo.maven.apache.org/maven2/org/openmrs/maven/plugins/maven-metadata.xml
  29. Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-metadata.xml
  30. Downloaded from central: https://repo.maven.apache.org/maven2/org/openmrs/maven/plugins/maven-metadata.xml (432 B at 89 B/s)
  31. Downloading from openmrs-bintray-repo: https://dl.bintray.com/openmrs/maven/org/apache/maven/plugins/maven-metadata.xml
  32. Downloaded from openmrs-bintray-repo: https://dl.bintray.com/openmrs/maven/org/openmrs/maven/plugins/maven-metadata.xml (432 B at 86 B/s)
  33. Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml
  34. Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml (14 kB at 18 kB/s)
  35. Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/codehaus/mojo/maven-metadata.xml
  36. Downloading from openmrs-bintray-repo: https://dl.bintray.com/openmrs/maven/org/codehaus/mojo/maven-metadata.xml
  37. Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml
  38. Downloaded from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/maven/plugins/maven-metadata.xml (906 B at 120 B/s)
  39. Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml (20 kB at 26 kB/s)
  40. Downloaded from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-metadata.xml (19 kB at 2.5 kB/s)
  41. Downloaded from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/codehaus/mojo/maven-metadata.xml (27 kB at 11 kB/s)
  42. Downloading from openmrs-bintray-repo: https://dl.bintray.com/openmrs/maven/org/openmrs/maven/plugins/openmrs-sdk-maven-plugin/maven-metadata.xml
  43. Downloading from central: https://repo.maven.apache.org/maven2/org/openmrs/maven/plugins/openmrs-sdk-maven-plugin/maven-metadata.xml
  44. Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/maven/plugins/openmrs-sdk-maven-plugin/maven-metadata.xml
  45. Downloaded from central: https://repo.maven.apache.org/maven2/org/openmrs/maven/plugins/openmrs-sdk-maven-plugin/maven-metadata.xml (1.4 kB at 2.0 kB/s)
  46. Downloaded from openmrs-bintray-repo: https://dl.bintray.com/openmrs/maven/org/openmrs/maven/plugins/openmrs-sdk-maven-plugin/maven-metadata.xml (1.5 kB at 750 B/s)
  47. Downloaded from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/maven/plugins/openmrs-sdk-maven-plugin/maven-metadata.xml (1.8 kB at 611 B/s)
  48. [INFO]
  49. [INFO] ------------------< org.apache.maven:standalone-pom >-------------------
  50. [INFO] Building Maven Stub Project (No POM) 1
  51. [INFO] --------------------------------[ pom ]---------------------------------
  52. [INFO]
  53. [INFO] --- openmrs-sdk-maven-plugin:3.13.2:setup-sdk (default-cli) @ standalone-pom ---
  54. [INFO] SDK installed successfully, settings file: C:\Users\Cliff\.m2\settings.xml
  55. [INFO] Now you can use sdk: mvn openmrs-sdk:<task_name>
  56. [INFO] ------------------------------------------------------------------------
  57. [INFO] BUILD SUCCESS
  58. [INFO] ------------------------------------------------------------------------
  59. [INFO] Total time: 18.480 s
  60. [INFO] Finished at: 2019-03-15T11:56:32+03:00
  61. [INFO] ------------------------------------------------------------------------
  62.  
  63. Cliff@Cliff-PC MINGW64 ~ (stable2)
  64. $ mvn openmrs-sdk:setup
  65. [INFO] Scanning for projects...
  66. [INFO]
  67. [INFO] ------------------< org.apache.maven:standalone-pom >-------------------
  68. [INFO] Building Maven Stub Project (No POM) 1
  69. [INFO] --------------------------------[ pom ]---------------------------------
  70. [INFO]
  71. [INFO] --- openmrs-sdk-maven-plugin:3.13.2:setup (default-cli) @ standalone-pom ---
  72.  
  73. Setting up a new server...
  74.  
  75. Specify server id (-DserverId) (default: 'server2'): gitserver
  76.  
  77. You can setup the following servers:
  78. 1) Distribution
  79. 2) Platform
  80.  
  81. Which one do you choose? [1/2]: 2
  82.  
  83. You can deploy the following versions of a platform:
  84. 1) 2.2.0-beta
  85. 2) 2.1.4
  86. 3) 2.0.7
  87. 4) 1.12.1
  88. 5) 1.11.7
  89. 6) 1.10.6
  90. 7) Other...
  91.  
  92. Which one do you choose? [1/2/3/4/5/6/7]: 1
  93. [INFO] Configured Artifact: org.openmrs.distro:platform:2.2.0-beta:jar
  94. [INFO] Copying platform-2.2.0-beta.jar to C:\Users\Cliff\openmrs\gitserver\openmrs-distro.jar
  95. [INFO] Configured Artifact: org.openmrs.web:openmrs-webapp:2.2.0-beta:war
  96. [INFO] Copying openmrs-webapp-2.2.0-beta.war to C:\Users\Cliff\openmrs\gitserver\openmrs-2.2.0-beta.war
  97. [INFO] Configured Artifact: org.openmrs.module:fhir-omod:1.18.0:jar
  98. [INFO] Configured Artifact: org.openmrs.module:webservices.rest-omod:2.23.0:jar
  99. [INFO] Configured Artifact: org.openmrs.module:owa-omod:1.10.0:jar
  100. [INFO] Copying fhir-omod-1.18.0.jar to C:\Users\Cliff\openmrs\gitserver\modules\fhir-1.18.0.omod
  101. [INFO] Copying webservices.rest-omod-2.23.0.jar to C:\Users\Cliff\openmrs\gitserver\modules\webservices.rest-2.23.0.omod
  102. [INFO] Copying owa-omod-1.10.0.jar to C:\Users\Cliff\openmrs\gitserver\modules\owa-1.10.0.omod
  103.  
  104. What port would you like your server to use? (default: '8080'):
  105.  
  106. If you want to enable remote debugging by default when running the server,
  107. specify the port number here (e.g. 1044). Leave blank to disable debugging.
  108. (Do not do this on a production server) (default: 'no debugging'):
  109.  
  110. Which database would you like to use?:
  111. 1) MySQL 5.6 (requires pre-installed MySQL 5.6)
  112. 2) MySQL 5.6 in SDK docker container (requires pre-installed Docker)
  113. 3) Existing docker container (requires pre-installed Docker)
  114.  
  115. Which one do you choose? [1/2/3]: 1
  116.  
  117. The distribution requires MySQL database. Please specify database uri (-DdbUri) (default: 'jdbc:mysql://localhost:3306/@DBNAME@'):
  118.  
  119. Please specify database username (-DdbUser) (default: 'root'):
  120. [INFO] ------------------------------------------------------------------------
  121. [INFO] BUILD FAILURE
  122. [INFO] ------------------------------------------------------------------------
  123. [INFO] Total time: 01:26 min
  124. [INFO] Finished at: 2019-03-15T11:59:08+03:00
  125. [INFO] ------------------------------------------------------------------------
  126. [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]
  127. [ERROR]
  128. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  129. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  130. [ERROR]
  131. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  132. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
  133.  
  134. Cliff@Cliff-PC MINGW64 ~ (stable2)
  135. $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement