Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C:\Users\BENZ>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:4.4.0:setup-sdk (default-cli) @ standalone-pom ---
- May 12, 2022 9:43:00 AM org.jline.utils.Log logr
- WARNING: Unable to create a system terminal, creating a dumb terminal (enable debug logging for more information)
- [INFO] SDK installed successfully, settings file: C:\Users\BENZ\.m2\settings.xml
- [INFO] Now you can use sdk: mvn openmrs-sdk:<task_name>
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD SUCCESS
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 3.239 s
- [INFO] Finished at: 2022-05-12T09:43:00+03:00
- [INFO] ------------------------------------------------------------------------
- C:\Users\BENZ>mvn openmrs-sdk:help
- [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.4.0:help (default-cli) @ standalone-pom ---
- May 12, 2022 9:43:28 AM org.jline.utils.Log logr
- WARNING: Unable to create a system terminal, creating a dumb terminal (enable debug logging for more information)
- OpenMRS SDK 4.4.0
- For more info, see SDK documentation: https://wiki.openmrs.org/display/docs/OpenMRS+SDK
- usage: create-project
- Description: Create platform/reference application/owa module
- usage: setup
- Description: Setup a new instance of OpenMRS server. It can be used for
- setting up a platform or a distribution. It prompts for any missing, but
- required parameters.
- -DaddDemoData Add demo data when setting up a platform server.
- -DdbDriver Database driver e.g. 'mysql' or 'h2'.
- -DdbPassword Password for the database user.
- -DdbUri Uri for JDBC connection to the database (default
- value matches dbDriver)
- -DdbUser Username for the database (defaults to 'root').
- -Ddistro OpenMRS Distribution to setup in a format
- 'groupId:artifactId:version'. You can skip
- groupId, if it is 'org.openmrs.distro'.
- -Dfile Path to installation.properties file for batch
- setup.
- -Dplatform OpenMRS Platform version to setup e.g. '1.11.5'.
- -DserverId Unique id of a server.
- usage: deploy
- Description: Deploy a module/distribution/platform to a server. It can be
- used for deploying a new artifact or upgrading/downgrading an artifact,
- which was previosly deployed.
- -DartifactId Artifact id of an artifact, which you want to
- deploy.
- -DgroupId Group id of an artifact, which you want to deploy
- (defaults to 'org.openmrs.module').
- -DserverId Unique id of a server.
- -Dversion Version of an artifact, which you want to deploy.
- usage: undeploy
- Description: Undeploy a module from a server.
- -DartifactId Artifact id of a module, which you want to
- undeploy.
- -DgroupId Group id of a module, which you want to undeploy
- (defaults to 'org.openmrs.module').
- -DserverId Unique id of a server.
- usage: reset
- Description: Reset server and its database to the initial state.
- -Dfull If 'true', delete modules installed manually
- (defaults to 'false').
- -Dserverid Unique id of a server.
- usage: delete
- Description: Delete a server and its database.
- -DserverId Unique id of a server.
- usage: run
- Description: Start a server. If it is run from a module/distro/platform
- project, the project will be redeployed before launching.
- -Ddebug Enable remote debugging on the given port (defaults
- to '1044' if empty).
- -Dfork Set to 'false' to disable forking a process for
- running the server (defaults to 'true'). Useful for
- debugging within an IDE without a remote debugger.
- Not that 'false' disables the live-reloading
- feature.
- -Dport Port to use for running the server (defaults to
- '8080').
- -DserverId Unique id of a server.
- usage: watch
- Description: Add a module from the current directory to the list of
- watched projects. It enables the live-reloading feature for a module.
- -DserverId Unique id of a server.
- usage: unwatch
- Description: Remove a module from the list of watched projects. It
- disabled the live-reloading feature for a module.
- -DartifactId Artifact id of a module to unwatch.
- -DgroupId Group id of a module to unwatch. It is optional,
- if artifact id is unambiguous.
- -DserverId Unique id of a server.
- usage: info
- Description: Display server details including the list of watched modules.
- -DserverId Unique id of a server.
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD SUCCESS
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 3.407 s
- [INFO] Finished at: 2022-05-12T09:43:29+03:00
- [INFO] ------------------------------------------------------------------------
- C:\Users\BENZ>mvn openmrs-sdk:setup-sdk -U
- [INFO] Scanning for projects...
- Downloading from central: https://repo.maven.apache.org/maven2/org/apache/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: https://mavenrepo.openmrs.org/public/org/openmrs/maven/plugins/maven-metadata.xml
- Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/apache/maven/plugins/maven-metadata.xml
- Downloaded from central: https://repo.maven.apache.org/maven2/org/openmrs/maven/plugins/maven-metadata.xml (804 B at 495 B/s)
- Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml (14 kB at 8.7 kB/s)
- Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/codehaus/mojo/maven-metadata.xml
- Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml
- Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml (20 kB at 40 kB/s)
- Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/org/apache/maven/plugins/maven-metadata.xml (15 kB at 3.5 kB/s)
- Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/org/codehaus/mojo/maven-metadata.xml (21 kB at 6.3 kB/s)
- Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/maven/plugins/maven-metadata.xml (1.7 kB at 316 B/s)
- Downloading from central: https://repo.maven.apache.org/maven2/org/openmrs/maven/plugins/openmrs-sdk-maven-plugin/maven-metadata.xml
- Downloading from openmrs-repo: https://mavenrepo.openmrs.org/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.7 kB at 3.5 kB/s)
- Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/maven/plugins/openmrs-sdk-maven-plugin/maven-metadata.xml (2.1 kB at 1.3 kB/s)
- [INFO]
- [INFO] ------------------< org.apache.maven:standalone-pom >-------------------
- [INFO] Building Maven Stub Project (No POM) 1
- [INFO] --------------------------------[ pom ]---------------------------------
- [INFO]
- [INFO] --- openmrs-sdk-maven-plugin:4.4.0:setup-sdk (default-cli) @ standalone-pom ---
- May 12, 2022 9:44:09 AM org.jline.utils.Log logr
- WARNING: Unable to create a system terminal, creating a dumb terminal (enable debug logging for more information)
- [INFO] SDK installed successfully, settings file: C:\Users\BENZ\.m2\settings.xml
- [INFO] Now you can use sdk: mvn openmrs-sdk:<task_name>
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD SUCCESS
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 11.031 s
- [INFO] Finished at: 2022-05-12T09:44:09+03:00
- [INFO] ------------------------------------------------------------------------
- C:\Users\BENZ>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.4.0:setup (default-cli) @ standalone-pom ---
- May 12, 2022 9:44:52 AM org.jline.utils.Log logr
- WARNING: Unable to create a system terminal, creating a dumb terminal (enable debug logging for more information)
- Setting up a new server...
- Specify server id (-DserverId) (default: 'server'): Kmserver
- 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 3.0.1-alpha.5-SNAPSHOT
- 2) Reference Application 3.0.0-SNAPSHOT
- 3) Reference Application 2.12.2
- 4) Reference Application 2.11.0
- 5) Reference Application 2.10.0
- 6) Other...
- Which one do you choose? [1/2/3/4/5/6]: 3
- [INFO] Configured Artifact: org.openmrs.distro:referenceapplication-package:2.12.2:jar
- [INFO] Copying referenceapplication-package-2.12.2.jar to C:\Users\BENZ\openmrs\Kmserver\openmrs-distro.jar
- [INFO] Configured Artifact: org.openmrs.web:openmrs-webapp:2.4.3:war
- [INFO] Copying openmrs-webapp-2.4.3.war to C:\Users\BENZ\openmrs\Kmserver\openmrs-2.4.3.war
- [INFO] Configured Artifact: org.openmrs.module:addresshierarchy-omod:2.14.2:jar
- [INFO] Configured Artifact: org.openmrs.module:legacyui-omod:1.8.4:jar
- [INFO] Configured Artifact: org.openmrs.module:openconceptlab-omod:1.2.9:jar
- [INFO] Configured Artifact: org.openmrs.module:metadatadeploy-omod:1.13.0:jar
- [INFO] Configured Artifact: org.openmrs.module:reportingrest-omod:1.12.0:jar
- [INFO] Configured Artifact: org.openmrs.module:owa-omod:1.13.0:jar
- [INFO] Configured Artifact: org.openmrs.module:fhir2-omod:1.2.2:jar
- [INFO] Configured Artifact: org.openmrs.module:serialization.xstream-omod:0.2.15:omod
- [INFO] Configured Artifact: org.openmrs.module:registrationapp-omod:1.24.0:jar
- [INFO] Configured Artifact: org.openmrs:event-omod:2.10.0:jar
- [INFO] Configured Artifact: org.openmrs.module:uilibrary-omod:2.0.7:jar
- [INFO] Configured Artifact: org.openmrs.module:htmlwidgets-omod:1.10.0:jar
- [INFO] Configured Artifact: org.openmrs.module:dataexchange-omod:1.3.7:jar
- [INFO] Configured Artifact: org.openmrs.module:appui-omod:1.14.0:jar
- [INFO] Configured Artifact: org.openmrs.module:allergyui-omod:1.8.4:jar
- [INFO] Configured Artifact: org.openmrs.module:providermanagement-omod:2.13.0:jar
- [INFO] Configured Artifact: org.openmrs.module:appointmentschedulingui-omod:1.12.0:jar
- [INFO] Configured Artifact: org.openmrs.module:attachments-omod:2.5.0:jar
- [INFO] Configured Artifact: org.openmrs.module:formentryapp-omod:1.4.2:jar
- [INFO] Configured Artifact: org.openmrs.module:idgen-omod:4.7.0:jar
- [INFO] Configured Artifact: org.openmrs.module:metadatamapping-omod:1.4.0:jar
- [INFO] Configured Artifact: org.openmrs.module:htmlformentryui-omod:2.0.0:jar
- [INFO] Configured Artifact: org.openmrs.module:referencedemodata-omod:1.4.7:jar
- [INFO] Configured Artifact: org.openmrs.module:emrapi-omod:1.32.0:jar
- [INFO] Configured Artifact: org.openmrs.module:referenceapplication-omod:2.12.0-SNAPSHOT:jar
- [INFO] Configured Artifact: org.openmrs.module:htmlformentry-omod:4.1.0:jar
- [INFO] Configured Artifact: org.openmrs.module:appframework-omod:2.16.0:jar
- [INFO] Configured Artifact: org.openmrs.module:referencemetadata-omod:2.12.0:jar
- [INFO] Configured Artifact: org.openmrs.module:reportingui-omod:1.8.0:jar
- [INFO] Configured Artifact: org.openmrs.module:coreapps-omod:1.34.0:jar
- [INFO] Configured Artifact: org.openmrs.module:reportingcompatibility-omod:2.0.8:jar
- [INFO] Configured Artifact: org.openmrs.module:reporting-omod:1.23.0:jar
- [INFO] Configured Artifact: org.openmrs.module:adminui-omod:1.6.0:jar
- [INFO] Configured Artifact: org.openmrs.module:registrationcore-omod:1.11.0:jar
- [INFO] Configured Artifact: org.openmrs.module:appointmentscheduling-omod:1.16.0:jar
- [INFO] Configured Artifact: org.openmrs.module:atlas-omod:2.2.5:omod
- [INFO] Configured Artifact: org.openmrs.module:calculation-omod:1.3.0:jar
- [INFO] Configured Artifact: org.openmrs.module:webservices.rest-omod:2.32.0:jar
- [INFO] Configured Artifact: org.openmrs.module:spa-omod:1.0.8:jar
- [INFO] Configured Artifact: org.openmrs.module:uicommons-omod:2.19.0:jar
- [INFO] Configured Artifact: org.openmrs.module:uiframework-omod:3.22.0:jar
- [INFO] Configured Artifact: org.openmrs.module:metadatasharing-omod:1.8.0:jar
- [INFO] Copying addresshierarchy-omod-2.14.2.jar to C:\Users\BENZ\openmrs\Kmserver\modules\addresshierarchy-2.14.2.omod
- [INFO] Copying legacyui-omod-1.8.4.jar to C:\Users\BENZ\openmrs\Kmserver\modules\legacyui-1.8.4.omod
- [INFO] Copying openconceptlab-omod-1.2.9.jar to C:\Users\BENZ\openmrs\Kmserver\modules\openconceptlab-1.2.9.omod
- [INFO] Copying metadatadeploy-omod-1.13.0.jar to C:\Users\BENZ\openmrs\Kmserver\modules\metadatadeploy-1.13.0.omod
- [INFO] Copying reportingrest-omod-1.12.0.jar to C:\Users\BENZ\openmrs\Kmserver\modules\reportingrest-1.12.0.omod
- [INFO] Copying owa-omod-1.13.0.jar to C:\Users\BENZ\openmrs\Kmserver\modules\owa-1.13.0.omod
- [INFO] Copying fhir2-omod-1.2.2.jar to C:\Users\BENZ\openmrs\Kmserver\modules\fhir2-1.2.2.omod
- [INFO] Copying serialization.xstream-omod-0.2.15.omod to C:\Users\BENZ\openmrs\Kmserver\modules\serialization.xstream-0.2.15.omod
- [INFO] Copying registrationapp-omod-1.24.0.jar to C:\Users\BENZ\openmrs\Kmserver\modules\registrationapp-1.24.0.omod
- [INFO] Copying event-omod-2.10.0.jar to C:\Users\BENZ\openmrs\Kmserver\modules\event-2.10.0.omod
- [INFO] Copying uilibrary-omod-2.0.7.jar to C:\Users\BENZ\openmrs\Kmserver\modules\uilibrary-2.0.7.omod
- [INFO] Copying htmlwidgets-omod-1.10.0.jar to C:\Users\BENZ\openmrs\Kmserver\modules\htmlwidgets-1.10.0.omod
- [INFO] Copying dataexchange-omod-1.3.7.jar to C:\Users\BENZ\openmrs\Kmserver\modules\dataexchange-1.3.7.omod
- [INFO] Copying appui-omod-1.14.0.jar to C:\Users\BENZ\openmrs\Kmserver\modules\appui-1.14.0.omod
- [INFO] Copying allergyui-omod-1.8.4.jar to C:\Users\BENZ\openmrs\Kmserver\modules\allergyui-1.8.4.omod
- [INFO] Copying providermanagement-omod-2.13.0.jar to C:\Users\BENZ\openmrs\Kmserver\modules\providermanagement-2.13.0.omod
- [INFO] Copying appointmentschedulingui-omod-1.12.0.jar to C:\Users\BENZ\openmrs\Kmserver\modules\appointmentschedulingui-1.12.0.omod
- [INFO] Copying attachments-omod-2.5.0.jar to C:\Users\BENZ\openmrs\Kmserver\modules\attachments-2.5.0.omod
- [INFO] Copying formentryapp-omod-1.4.2.jar to C:\Users\BENZ\openmrs\Kmserver\modules\formentryapp-1.4.2.omod
- [INFO] Copying idgen-omod-4.7.0.jar to C:\Users\BENZ\openmrs\Kmserver\modules\idgen-4.7.0.omod
- [INFO] Copying metadatamapping-omod-1.4.0.jar to C:\Users\BENZ\openmrs\Kmserver\modules\metadatamapping-1.4.0.omod
- [INFO] Copying htmlformentryui-omod-2.0.0.jar to C:\Users\BENZ\openmrs\Kmserver\modules\htmlformentryui-2.0.0.omod
- [INFO] Copying referencedemodata-omod-1.4.7.jar to C:\Users\BENZ\openmrs\Kmserver\modules\referencedemodata-1.4.7.omod
- [INFO] Copying emrapi-omod-1.32.0.jar to C:\Users\BENZ\openmrs\Kmserver\modules\emrapi-1.32.0.omod
- [INFO] Copying referenceapplication-omod-2.12.0-SNAPSHOT.jar to C:\Users\BENZ\openmrs\Kmserver\modules\referenceapplication-2.12.0-SNAPSHOT.omod
- [INFO] Copying htmlformentry-omod-4.1.0.jar to C:\Users\BENZ\openmrs\Kmserver\modules\htmlformentry-4.1.0.omod
- [INFO] Copying appframework-omod-2.16.0.jar to C:\Users\BENZ\openmrs\Kmserver\modules\appframework-2.16.0.omod
- [INFO] Copying referencemetadata-omod-2.12.0.jar to C:\Users\BENZ\openmrs\Kmserver\modules\referencemetadata-2.12.0.omod
- [INFO] Copying reportingui-omod-1.8.0.jar to C:\Users\BENZ\openmrs\Kmserver\modules\reportingui-1.8.0.omod
- [INFO] Copying coreapps-omod-1.34.0.jar to C:\Users\BENZ\openmrs\Kmserver\modules\coreapps-1.34.0.omod
- [INFO] Copying reportingcompatibility-omod-2.0.8.jar to C:\Users\BENZ\openmrs\Kmserver\modules\reportingcompatibility-2.0.8.omod
- [INFO] Copying reporting-omod-1.23.0.jar to C:\Users\BENZ\openmrs\Kmserver\modules\reporting-1.23.0.omod
- [INFO] Copying adminui-omod-1.6.0.jar to C:\Users\BENZ\openmrs\Kmserver\modules\adminui-1.6.0.omod
- [INFO] Copying registrationcore-omod-1.11.0.jar to C:\Users\BENZ\openmrs\Kmserver\modules\registrationcore-1.11.0.omod
- [INFO] Copying appointmentscheduling-omod-1.16.0.jar to C:\Users\BENZ\openmrs\Kmserver\modules\appointmentscheduling-1.16.0.omod
- [INFO] Copying atlas-omod-2.2.5.omod to C:\Users\BENZ\openmrs\Kmserver\modules\atlas-2.2.5.omod
- [INFO] Copying calculation-omod-1.3.0.jar to C:\Users\BENZ\openmrs\Kmserver\modules\calculation-1.3.0.omod
- [INFO] Copying webservices.rest-omod-2.32.0.jar to C:\Users\BENZ\openmrs\Kmserver\modules\webservices.rest-2.32.0.omod
- [INFO] Copying spa-omod-1.0.8.jar to C:\Users\BENZ\openmrs\Kmserver\modules\spa-1.0.8.omod
- [INFO] Copying uicommons-omod-2.19.0.jar to C:\Users\BENZ\openmrs\Kmserver\modules\uicommons-2.19.0.omod
- [INFO] Copying uiframework-omod-3.22.0.jar to C:\Users\BENZ\openmrs\Kmserver\modules\uiframework-3.22.0.omod
- [INFO] Copying metadatasharing-omod-1.8.0.jar to C:\Users\BENZ\openmrs\Kmserver\modules\metadatasharing-1.8.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 C:\Users\BENZ\openmrs\Kmserver\owa\sysadmin-1.2.zip
- What port would you like your server to use? (default: '8080'): 5600
- 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'): 5600
- 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)
- 4) PostgreSQL 8.2 and above
- Which one do you choose? [1/2/3/4]: 1
- The distribution requires a MySQL database. Please specify database uri (-DdbUri) (default: 'jdbc:mysql://localhost:3306/@DBNAME@'): open-mrs
- Please specify database username (-DdbUser) (default: 'root'): Admin
- Please specify database password (-DdbPassword): Admin123
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 10:57 min
- [INFO] Finished at: 2022-05-12T09:55:47+03:00
- [INFO] ------------------------------------------------------------------------
- [ERROR] Failed to execute goal org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:4.4.0:setup (default-cli) on project standalone-pom: Failed to setup server: Failed to connect to the specified database jdbc:mrs?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&sessionVariables=default_storage_engine%3DInnoDB: No suitable driver found for -> [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
- C:\Users\BENZ>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement