Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Cliff@Cliff-PC MINGW64 ~ (stable2)
- $ mvn org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:setup-sdk
- [INFO] Scanning for projects...
- [INFO]
- [INFO] ------------------< org.apache.maven:standalone-pom >-------------------
- [INFO] Building Maven Stub Project (No POM) 1
- [INFO] --------------------------------[ pom ]---------------------------------
- [INFO]
- [INFO] --- openmrs-sdk-maven-plugin:3.13.2:setup-sdk (default-cli) @ standalone-pom ---
- [INFO] SDK installed successfully, settings file: C:\Users\Cliff\.m2\settings.xml
- [INFO] Now you can use sdk: mvn openmrs-sdk:<task_name>
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD SUCCESS
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 18.067 s
- [INFO] Finished at: 2019-03-15T11:55:58+03:00
- [INFO] ------------------------------------------------------------------------
- Cliff@Cliff-PC MINGW64 ~ (stable2)
- $
- Cliff@Cliff-PC MINGW64 ~ (stable2)
- $ mvn openmrs-sdk:setup-sdk -U
- [INFO] Scanning for projects...
- Downloading from openmrs-bintray-repo: https://dl.bintray.com/openmrs/maven/org/openmrs/maven/plugins/maven-metadata.xml
- Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/maven/plugins/maven-metadata.xml
- Downloading from central: https://repo.maven.apache.org/maven2/org/openmrs/maven/plugins/maven-metadata.xml
- Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-metadata.xml
- Downloaded from central: https://repo.maven.apache.org/maven2/org/openmrs/maven/plugins/maven-metadata.xml (432 B at 89 B/s)
- Downloading from openmrs-bintray-repo: https://dl.bintray.com/openmrs/maven/org/apache/maven/plugins/maven-metadata.xml
- Downloaded from openmrs-bintray-repo: https://dl.bintray.com/openmrs/maven/org/openmrs/maven/plugins/maven-metadata.xml (432 B at 86 B/s)
- Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml
- Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml (14 kB at 18 kB/s)
- Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/codehaus/mojo/maven-metadata.xml
- Downloading from openmrs-bintray-repo: https://dl.bintray.com/openmrs/maven/org/codehaus/mojo/maven-metadata.xml
- Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml
- 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)
- Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml (20 kB at 26 kB/s)
- 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)
- Downloaded from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/codehaus/mojo/maven-metadata.xml (27 kB at 11 kB/s)
- Downloading from openmrs-bintray-repo: https://dl.bintray.com/openmrs/maven/org/openmrs/maven/plugins/openmrs-sdk-maven-plugin/maven-metadata.xml
- Downloading from central: https://repo.maven.apache.org/maven2/org/openmrs/maven/plugins/openmrs-sdk-maven-plugin/maven-metadata.xml
- Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/maven/plugins/openmrs-sdk-maven-plugin/maven-metadata.xml
- 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)
- 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)
- 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)
- [INFO]
- [INFO] ------------------< org.apache.maven:standalone-pom >-------------------
- [INFO] Building Maven Stub Project (No POM) 1
- [INFO] --------------------------------[ pom ]---------------------------------
- [INFO]
- [INFO] --- openmrs-sdk-maven-plugin:3.13.2:setup-sdk (default-cli) @ standalone-pom ---
- [INFO] SDK installed successfully, settings file: C:\Users\Cliff\.m2\settings.xml
- [INFO] Now you can use sdk: mvn openmrs-sdk:<task_name>
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD SUCCESS
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 18.480 s
- [INFO] Finished at: 2019-03-15T11:56:32+03:00
- [INFO] ------------------------------------------------------------------------
- Cliff@Cliff-PC MINGW64 ~ (stable2)
- $ mvn openmrs-sdk:setup
- [INFO] Scanning for projects...
- [INFO]
- [INFO] ------------------< org.apache.maven:standalone-pom >-------------------
- [INFO] Building Maven Stub Project (No POM) 1
- [INFO] --------------------------------[ pom ]---------------------------------
- [INFO]
- [INFO] --- openmrs-sdk-maven-plugin:3.13.2:setup (default-cli) @ standalone-pom ---
- Setting up a new server...
- Specify server id (-DserverId) (default: 'server2'): gitserver
- You can setup the following servers:
- 1) Distribution
- 2) Platform
- Which one do you choose? [1/2]: 2
- You can deploy the following versions of a platform:
- 1) 2.2.0-beta
- 2) 2.1.4
- 3) 2.0.7
- 4) 1.12.1
- 5) 1.11.7
- 6) 1.10.6
- 7) Other...
- Which one do you choose? [1/2/3/4/5/6/7]: 1
- [INFO] Configured Artifact: org.openmrs.distro:platform:2.2.0-beta:jar
- [INFO] Copying platform-2.2.0-beta.jar to C:\Users\Cliff\openmrs\gitserver\openmrs-distro.jar
- [INFO] Configured Artifact: org.openmrs.web:openmrs-webapp:2.2.0-beta:war
- [INFO] Copying openmrs-webapp-2.2.0-beta.war to C:\Users\Cliff\openmrs\gitserver\openmrs-2.2.0-beta.war
- [INFO] Configured Artifact: org.openmrs.module:fhir-omod:1.18.0:jar
- [INFO] Configured Artifact: org.openmrs.module:webservices.rest-omod:2.23.0:jar
- [INFO] Configured Artifact: org.openmrs.module:owa-omod:1.10.0:jar
- [INFO] Copying fhir-omod-1.18.0.jar to C:\Users\Cliff\openmrs\gitserver\modules\fhir-1.18.0.omod
- [INFO] Copying webservices.rest-omod-2.23.0.jar to C:\Users\Cliff\openmrs\gitserver\modules\webservices.rest-2.23.0.omod
- [INFO] Copying owa-omod-1.10.0.jar to C:\Users\Cliff\openmrs\gitserver\modules\owa-1.10.0.omod
- What port would you like your server to use? (default: '8080'):
- If you want to enable remote debugging by default when running the server,
- specify the port number here (e.g. 1044). Leave blank to disable debugging.
- (Do not do this on a production server) (default: 'no debugging'):
- Which database would you like to use?:
- 1) MySQL 5.6 (requires pre-installed MySQL 5.6)
- 2) MySQL 5.6 in SDK docker container (requires pre-installed Docker)
- 3) Existing docker container (requires pre-installed Docker)
- Which one do you choose? [1/2/3]: 1
- The distribution requires MySQL database. Please specify database uri (-DdbUri) (default: 'jdbc:mysql://localhost:3306/@DBNAME@'):
- Please specify database username (-DdbUser) (default: 'root'):
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 01:26 min
- [INFO] Finished at: 2019-03-15T11:59:08+03:00
- [INFO] ------------------------------------------------------------------------
- [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]
- [ERROR]
- [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
- [ERROR] Re-run Maven using the -X switch to enable full debug logging.
- [ERROR]
- [ERROR] For more information about the errors and possible solutions, please read the following articles:
- [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
- Cliff@Cliff-PC MINGW64 ~ (stable2)
- $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement