Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ams@ams:~$ mvn -v
- Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
- Maven home: /opt/maven
- Java version: 1.8.0_292, vendor: Private Build, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre
- Default locale: en_US, platform encoding: UTF-8
- OS name: "linux", version: "5.4.0-74-generic", arch: "amd64", family: "unix"
- ams@ams:~$ 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:4.0.1:setup (default-cli) @ standalone-pom ---
- Setting up a new server...
- Specify server id (-DserverId) (default: 'server'):
- You can setup the following servers:
- 1) Distribution
- 2) Platform
- Which one do you choose? [1/2]: 1
- You can deploy the following versions of distribution:
- 1) Reference Application 2.12.0-SNAPSHOT
- 2) Reference Application 2.11.0
- 3) Reference Application 2.10.0
- 4) Reference Application 2.9.0
- 5) Reference Application 2.8.1
- 6) Other...
- Which one do you choose? [1/2/3/4/5/6]: 2
- [INFO] Configured Artifact: org.openmrs.distro:referenceapplication-package:2.11.0:jar
- [INFO] Copying referenceapplication-package-2.11.0.jar to /home/ams/openmrs/server/openmrs-distro.jar
- [INFO] Configured Artifact: org.openmrs.web:openmrs-webapp:2.3.2:war
- [INFO] Copying openmrs-webapp-2.3.2.war to /home/ams/openmrs/server/openmrs-2.3.2.war
- [INFO] Configured Artifact: org.openmrs.module:addresshierarchy-omod:2.14.2:jar
- [INFO] Configured Artifact: org.openmrs.module:legacyui-omod:1.8.0:jar
- [INFO] Configured Artifact: org.openmrs.module:metadatadeploy-omod:1.12.1:jar
- [INFO] Configured Artifact: org.openmrs.module:reportingrest-omod:1.11.0:jar
- [INFO] Configured Artifact: org.openmrs.module:owa-omod:1.12.0:jar
- [INFO] Configured Artifact: org.openmrs.module:fhir2-omod:1.1.0:jar
- [INFO] Configured Artifact: org.openmrs.module:serialization.xstream-omod:0.2.14:omod
- [INFO] Configured Artifact: org.openmrs.module:registrationapp-omod:1.20.0:jar
- [INFO] Configured Artifact: org.openmrs:event-omod:2.8.0:jar
- [INFO] Configured Artifact: org.openmrs.module:uilibrary-omod:2.0.6:jar
- [INFO] Configured Artifact: org.openmrs.module:htmlwidgets-omod:1.10.0:jar
- [INFO] Configured Artifact: org.openmrs.module:dataexchange-omod:1.3.6:jar
- [INFO] Configured Artifact: org.openmrs.module:appui-omod:1.13.0:jar
- [INFO] Configured Artifact: org.openmrs.module:allergyui-omod:1.8.3:jar
- [INFO] Configured Artifact: org.openmrs.module:providermanagement-omod:2.12.0:jar
- [INFO] Configured Artifact: org.openmrs.module:appointmentschedulingui-omod:1.9.0:jar
- [INFO] Configured Artifact: org.openmrs.module:attachments-omod:2.4.0:jar
- [INFO] Configured Artifact: org.openmrs.module:formentryapp-omod:1.4.2:jar
- [INFO] Configured Artifact: org.openmrs.module:idgen-omod:4.6.0:jar
- [INFO] Configured Artifact: org.openmrs.module:metadatamapping-omod:1.3.5:jar
- [INFO] Configured Artifact: org.openmrs.module:htmlformentryui-omod:1.11.2:jar
- [INFO] Configured Artifact: org.openmrs.module:referencedemodata-omod:1.4.6:jar
- [INFO] Configured Artifact: org.openmrs.module:emrapi-omod:1.30.0:jar
- [INFO] Configured Artifact: org.openmrs.module:referenceapplication-omod:2.11.0:jar
- [INFO] Configured Artifact: org.openmrs.module:htmlformentry-omod:3.12.0:jar
- [INFO] Configured Artifact: org.openmrs.module:appframework-omod:2.16.0:jar
- [INFO] Configured Artifact: org.openmrs.module:referencemetadata-omod:2.11.0:jar
- [INFO] Configured Artifact: org.openmrs.module:reportingui-omod:1.7.0:jar
- [INFO] Configured Artifact: org.openmrs.module:coreapps-omod:1.31.0:jar
- [INFO] Configured Artifact: org.openmrs.module:reportingcompatibility-omod:2.0.7:jar
- [INFO] Configured Artifact: org.openmrs.module:reporting-omod:1.21.0:jar
- [INFO] Configured Artifact: org.openmrs.module:adminui-omod:1.4.0:jar
- [INFO] Configured Artifact: org.openmrs.module:registrationcore-omod:1.10.0:jar
- [INFO] Configured Artifact: org.openmrs.module:appointmentscheduling-omod:1.13.0:jar
- [INFO] Configured Artifact: org.openmrs.module:calculation-omod:1.2.1:jar
- [INFO] Configured Artifact: org.openmrs.module:webservices.rest-omod:2.29.0:jar
- [INFO] Configured Artifact: org.openmrs.module:atlas-omod:2.2.4:omod
- [INFO] Configured Artifact: org.openmrs.module:uicommons-omod:2.15.0:jar
- [INFO] Configured Artifact: org.openmrs.module:uiframework-omod:3.19.0:jar
- [INFO] Configured Artifact: org.openmrs.module:metadatasharing-omod:1.7.0:jar
- [INFO] Copying addresshierarchy-omod-2.14.2.jar to /home/ams/openmrs/server/modules/addresshierarchy-2.14.2.omod
- [INFO] Copying legacyui-omod-1.8.0.jar to /home/ams/openmrs/server/modules/legacyui-1.8.0.omod
- [INFO] Copying metadatadeploy-omod-1.12.1.jar to /home/ams/openmrs/server/modules/metadatadeploy-1.12.1.omod
- [INFO] Copying reportingrest-omod-1.11.0.jar to /home/ams/openmrs/server/modules/reportingrest-1.11.0.omod
- [INFO] Copying owa-omod-1.12.0.jar to /home/ams/openmrs/server/modules/owa-1.12.0.omod
- [INFO] Copying fhir2-omod-1.1.0.jar to /home/ams/openmrs/server/modules/fhir2-1.1.0.omod
- [INFO] Copying serialization.xstream-omod-0.2.14.omod to /home/ams/openmrs/server/modules/serialization.xstream-0.2.14.omod
- [INFO] Copying registrationapp-omod-1.20.0.jar to /home/ams/openmrs/server/modules/registrationapp-1.20.0.omod
- [INFO] Copying event-omod-2.8.0.jar to /home/ams/openmrs/server/modules/event-2.8.0.omod
- [INFO] Copying uilibrary-omod-2.0.6.jar to /home/ams/openmrs/server/modules/uilibrary-2.0.6.omod
- [INFO] Copying htmlwidgets-omod-1.10.0.jar to /home/ams/openmrs/server/modules/htmlwidgets-1.10.0.omod
- [INFO] Copying dataexchange-omod-1.3.6.jar to /home/ams/openmrs/server/modules/dataexchange-1.3.6.omod
- [INFO] Copying appui-omod-1.13.0.jar to /home/ams/openmrs/server/modules/appui-1.13.0.omod
- [INFO] Copying allergyui-omod-1.8.3.jar to /home/ams/openmrs/server/modules/allergyui-1.8.3.omod
- [INFO] Copying providermanagement-omod-2.12.0.jar to /home/ams/openmrs/server/modules/providermanagement-2.12.0.omod
- [INFO] Copying appointmentschedulingui-omod-1.9.0.jar to /home/ams/openmrs/server/modules/appointmentschedulingui-1.9.0.omod
- [INFO] Copying attachments-omod-2.4.0.jar to /home/ams/openmrs/server/modules/attachments-2.4.0.omod
- [INFO] Copying formentryapp-omod-1.4.2.jar to /home/ams/openmrs/server/modules/formentryapp-1.4.2.omod
- [INFO] Copying idgen-omod-4.6.0.jar to /home/ams/openmrs/server/modules/idgen-4.6.0.omod
- [INFO] Copying metadatamapping-omod-1.3.5.jar to /home/ams/openmrs/server/modules/metadatamapping-1.3.5.omod
- [INFO] Copying htmlformentryui-omod-1.11.2.jar to /home/ams/openmrs/server/modules/htmlformentryui-1.11.2.omod
- [INFO] Copying referencedemodata-omod-1.4.6.jar to /home/ams/openmrs/server/modules/referencedemodata-1.4.6.omod
- [INFO] Copying emrapi-omod-1.30.0.jar to /home/ams/openmrs/server/modules/emrapi-1.30.0.omod
- [INFO] Copying referenceapplication-omod-2.11.0.jar to /home/ams/openmrs/server/modules/referenceapplication-2.11.0.omod
- [INFO] Copying htmlformentry-omod-3.12.0.jar to /home/ams/openmrs/server/modules/htmlformentry-3.12.0.omod
- [INFO] Copying appframework-omod-2.16.0.jar to /home/ams/openmrs/server/modules/appframework-2.16.0.omod
- [INFO] Copying referencemetadata-omod-2.11.0.jar to /home/ams/openmrs/server/modules/referencemetadata-2.11.0.omod
- [INFO] Copying reportingui-omod-1.7.0.jar to /home/ams/openmrs/server/modules/reportingui-1.7.0.omod
- [INFO] Copying coreapps-omod-1.31.0.jar to /home/ams/openmrs/server/modules/coreapps-1.31.0.omod
- [INFO] Copying reportingcompatibility-omod-2.0.7.jar to /home/ams/openmrs/server/modules/reportingcompatibility-2.0.7.omod
- [INFO] Copying reporting-omod-1.21.0.jar to /home/ams/openmrs/server/modules/reporting-1.21.0.omod
- [INFO] Copying adminui-omod-1.4.0.jar to /home/ams/openmrs/server/modules/adminui-1.4.0.omod
- [INFO] Copying registrationcore-omod-1.10.0.jar to /home/ams/openmrs/server/modules/registrationcore-1.10.0.omod
- [INFO] Copying appointmentscheduling-omod-1.13.0.jar to /home/ams/openmrs/server/modules/appointmentscheduling-1.13.0.omod
- [INFO] Copying calculation-omod-1.2.1.jar to /home/ams/openmrs/server/modules/calculation-1.2.1.omod
- [INFO] Copying webservices.rest-omod-2.29.0.jar to /home/ams/openmrs/server/modules/webservices.rest-2.29.0.omod
- [INFO] Copying atlas-omod-2.2.4.omod to /home/ams/openmrs/server/modules/atlas-2.2.4.omod
- [INFO] Copying uicommons-omod-2.15.0.jar to /home/ams/openmrs/server/modules/uicommons-2.15.0.omod
- [INFO] Copying uiframework-omod-3.19.0.jar to /home/ams/openmrs/server/modules/uiframework-3.19.0.omod
- [INFO] Copying metadatasharing-omod-1.7.0.jar to /home/ams/openmrs/server/modules/metadatasharing-1.7.0.omod
- Downloading OWAs...
- Downloading OWA: org.openmrs.owa:openmrs-owa-sysadmin:1.2
- [INFO] Configured Artifact: org.openmrs.owa:sysadmin:1.2:zip
- [INFO] Copying sysadmin-1.2.zip to /home/ams/openmrs/server/owa/sysadmin-1.2.zip
- 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'): 1044
- Which database would you like to use?:
- 1) MySQL 5.6 and above (requires pre-installed MySQL 5.6 and above)
- 2) MySQL 5.6 and above 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'):
- Please specify database password (-DdbPassword):
- Wed Jun 16 15:53:56 EAT 2021 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 01:35 min
- [INFO] Finished at: 2021-06-16T15:53:57+03:00
- [INFO] ------------------------------------------------------------------------
- [ERROR] Failed to execute goal org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:4.0.1:setup (default-cli) on project standalone-pom: Failed to setup server: Failed to connect to the specified database jdbc:mysql://localhost:3306/server?autoReconnect=true&sessionVariables=default_storage_engine%3DInnoDB&useUnicode=true&characterEncoding=UTF-8 -> [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
- ams@ams:~$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement