Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Windows PowerShell
- Copyright (C) Microsoft Corporation. All rights reserved.
- Try the new cross-platform PowerShell https://aka.ms/pscore6
- PS C:\Users\ujjwal> cd .\Desktop\
- PS C:\Users\ujjwal\Desktop> cd gsoc
- cd : Cannot find path 'C:\Users\ujjwal\Desktop\gsoc' because it does not exist.
- At line:1 char:1
- + cd gsoc
- + ~~~~~~~
- + CategoryInfo : ObjectNotFound: (C:\Users\ujjwal\Desktop\gsoc:String) [Set-Location], ItemNotFoundExcept
- ion
- + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetLocationCommand
- PS C:\Users\ujjwal\Desktop> cd '.\GSOC CONTRI\'
- PS C:\Users\ujjwal\Desktop\GSOC CONTRI> cd .\OpenMRS\
- PS C:\Users\ujjwal\Desktop\GSOC CONTRI\OpenMRS> cd .\openmrs-core\
- PS C:\Users\ujjwal\Desktop\GSOC CONTRI\OpenMRS\openmrs-core> cd tools
- PS C:\Users\ujjwal\Desktop\GSOC CONTRI\OpenMRS\openmrs-core\tools> mvn org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:setup-sdk
- [INFO] Scanning for projects...
- [INFO]
- [INFO] ------------------< org.openmrs.tools:openmrs-tools >-------------------
- [INFO] Building openmrs-tools 2.5.0-SNAPSHOT
- [INFO] --------------------------------[ jar ]---------------------------------
- [INFO]
- [INFO] --- openmrs-sdk-maven-plugin:3.13.6:setup-sdk (default-cli) @ openmrs-tools ---
- Would you be willing to help us improve SDK by sending us once in a while anonymous usage statistics (you can always change your mind by going to sdk-stats.properties and setting statsEnabled to false) [Y/n]: y
- [INFO] SDK installed successfully, settings file: C:\Users\ujjwal\.m2\settings.xml
- [INFO] Now you can use sdk: mvn openmrs-sdk:<task_name>
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD SUCCESS
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 12.595 s
- [INFO] Finished at: 2021-02-06T16:38:22+05:30
- [INFO] ------------------------------------------------------------------------
- PS C:\Users\ujjwal\Desktop\GSOC CONTRI\OpenMRS\openmrs-core\tools>
- >> mvn openmrs-sdk:help
- [INFO] Scanning for projects...
- [WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available
- [WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved: Failure to find org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 in http://mavenrepo.openmrs.org/nexus/content/repositories/public was cached in the local repository, resolution will not be reattempted until the update interval of openmrs-repo has elapsed or updates are forced
- [INFO]
- [INFO] ------------------< org.openmrs.tools:openmrs-tools >-------------------
- [INFO] Building openmrs-tools 2.5.0-SNAPSHOT
- [INFO] --------------------------------[ jar ]---------------------------------
- [WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available
- [WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved: Failure to find org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 in http://mavenrepo.openmrs.org/nexus/content/repositories/public was cached in the local repository, resolution will not be reattempted until the update interval of openmrs-repo has elapsed or updates are forced
- [INFO]
- [INFO] --- openmrs-sdk-maven-plugin:3.13.6:help (default-cli) @ openmrs-tools ---
- OpenMRS SDK 3.13.6
- 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: 2.258 s
- [INFO] Finished at: 2021-02-06T16:39:09+05:30
- [INFO] ------------------------------------------------------------------------
- PS C:\Users\ujjwal\Desktop\GSOC CONTRI\OpenMRS\openmrs-core\tools> mvn openmrs-sdk:setup-sdk -U
- [INFO] Scanning for projects...
- Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/eclipse/m2e/lifecycle-mapping/1.0.0/lifecycle-mapping-1.0.0.pom
- Downloading from openmrs-bintray-repo: https://dl.bintray.com/openmrs/maven/org/eclipse/m2e/lifecycle-mapping/1.0.0/lifecycle-mapping-1.0.0.pom
- Downloading from central: https://repo.maven.apache.org/maven2/org/eclipse/m2e/lifecycle-mapping/1.0.0/lifecycle-mapping-1.0.0.pom
- [WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available
- Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/eclipse/m2e/lifecycle-mapping/1.0.0/lifecycle-mapping-1.0.0.jar
- Downloading from openmrs-bintray-repo: https://dl.bintray.com/openmrs/maven/org/eclipse/m2e/lifecycle-mapping/1.0.0/lifecycle-mapping-1.0.0.jar
- Downloading from central: https://repo.maven.apache.org/maven2/org/eclipse/m2e/lifecycle-mapping/1.0.0/lifecycle-mapping-1.0.0.jar
- [WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved: Could not find artifact org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 in openmrs-repo (http://mavenrepo.openmrs.org/nexus/content/repositories/public)
- Downloading from central: https://repo.maven.apache.org/maven2/org/openmrs/maven/plugins/maven-metadata.xml
- 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/apache/maven/plugins/maven-metadata.xml
- Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/maven/plugins/maven-metadata.xml
- Downloaded from central: https://repo.maven.apache.org/maven2/org/openmrs/maven/plugins/maven-metadata.xml (432 B at 601 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 271 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 38 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
- Downloaded from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-metadata.xml (9.7 kB at 4.3 kB/s)
- 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 (1.4 kB at 531 B/s)
- Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml (20 kB at 64 kB/s)
- Downloaded from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/codehaus/mojo/maven-metadata.xml (20 kB at 8.3 kB/s)
- Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/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-bintray-repo: https://dl.bintray.com/openmrs/maven/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 4.2 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.6 kB at 971 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.9 kB at 1.1 kB/s)
- [INFO]
- [INFO] ------------------< org.openmrs.tools:openmrs-tools >-------------------
- [INFO] Building openmrs-tools 2.5.0-SNAPSHOT
- [INFO] --------------------------------[ jar ]---------------------------------
- [WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available
- [WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved: Failure to find org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 in http://mavenrepo.openmrs.org/nexus/content/repositories/public was cached in the local repository, resolution will not be reattempted until the update interval of openmrs-repo has elapsed or updates are forced
- [INFO]
- [INFO] --- openmrs-sdk-maven-plugin:3.13.6:setup-sdk (default-cli) @ openmrs-tools ---
- [INFO] SDK installed successfully, settings file: C:\Users\ujjwal\.m2\settings.xml
- [INFO] Now you can use sdk: mvn openmrs-sdk:<task_name>
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD SUCCESS
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 17.489 s
- [INFO] Finished at: 2021-02-06T16:40:38+05:30
- [INFO] ------------------------------------------------------------------------
- PS C:\Users\ujjwal\Desktop\GSOC CONTRI\OpenMRS\openmrs-core\tools> mvn openmrs-sdk:setup
- [INFO] Scanning for projects...
- [WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available
- [WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved: Failure to find org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 in http://mavenrepo.openmrs.org/nexus/content/repositories/public was cached in the local repository, resolution will not be reattempted until the update interval of openmrs-repo has elapsed or updates are forced
- [INFO]
- [INFO] ------------------< org.openmrs.tools:openmrs-tools >-------------------
- [INFO] Building openmrs-tools 2.5.0-SNAPSHOT
- [INFO] --------------------------------[ jar ]---------------------------------
- [WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available
- [WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved: Failure to find org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 in http://mavenrepo.openmrs.org/nexus/content/repositories/public was cached in the local repository, resolution will not be reattempted until the update interval of openmrs-repo has elapsed or updates are forced
- [INFO]
- [INFO] --- openmrs-sdk-maven-plugin:3.13.6:setup (default-cli) @ openmrs-tools ---
- 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]: 1
- [INFO] Configured Artifact: org.openmrs.distro:referenceapplication-package:2.12.0-SNAPSHOT:jar
- [INFO] Copying referenceapplication-package-2.12.0-SNAPSHOT.jar to C:\Users\ujjwal\openmrs\server\openmrs-distro.jar
- [INFO] Configured Artifact: org.openmrs.web:openmrs-webapp:2.4.0:war
- [INFO] Copying openmrs-webapp-2.4.0.war to C:\Users\ujjwal\openmrs\server\openmrs-2.4.0.war
- [INFO] Configured Artifact: org.openmrs.module:addresshierarchy-omod:2.14.2:jar
- [INFO] Configured Artifact: org.openmrs.module:legacyui-omod:1.8.2-SNAPSHOT: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.22.0-SNAPSHOT: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.31.0-SNAPSHOT: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.17.0-SNAPSHOT:jar
- [INFO] Configured Artifact: org.openmrs.module:uiframework-omod:3.21.0-SNAPSHOT:jar
- [INFO] Configured Artifact: org.openmrs.module:metadatasharing-omod:1.7.0:jar
- [INFO] Copying addresshierarchy-omod-2.14.2.jar to C:\Users\ujjwal\openmrs\server\modules\addresshierarchy-2.14.2.omod
- [INFO] Copying legacyui-omod-1.8.2-SNAPSHOT.jar to C:\Users\ujjwal\openmrs\server\modules\legacyui-1.8.2-SNAPSHOT.omod
- [INFO] Copying metadatadeploy-omod-1.12.1.jar to C:\Users\ujjwal\openmrs\server\modules\metadatadeploy-1.12.1.omod
- [INFO] Copying reportingrest-omod-1.11.0.jar to C:\Users\ujjwal\openmrs\server\modules\reportingrest-1.11.0.omod
- [INFO] Copying owa-omod-1.12.0.jar to C:\Users\ujjwal\openmrs\server\modules\owa-1.12.0.omod
- [INFO] Copying fhir2-omod-1.1.0.jar to C:\Users\ujjwal\openmrs\server\modules\fhir2-1.1.0.omod
- [INFO] Copying serialization.xstream-omod-0.2.14.omod to C:\Users\ujjwal\openmrs\server\modules\serialization.xstream-0.2.14.omod
- [INFO] Copying registrationapp-omod-1.22.0-SNAPSHOT.jar to C:\Users\ujjwal\openmrs\server\modules\registrationapp-1.22.0-SNAPSHOT.omod
- [INFO] Copying event-omod-2.8.0.jar to C:\Users\ujjwal\openmrs\server\modules\event-2.8.0.omod
- [INFO] Copying uilibrary-omod-2.0.6.jar to C:\Users\ujjwal\openmrs\server\modules\uilibrary-2.0.6.omod
- [INFO] Copying htmlwidgets-omod-1.10.0.jar to C:\Users\ujjwal\openmrs\server\modules\htmlwidgets-1.10.0.omod
- [INFO] Copying dataexchange-omod-1.3.6.jar to C:\Users\ujjwal\openmrs\server\modules\dataexchange-1.3.6.omod
- [INFO] Copying appui-omod-1.13.0.jar to C:\Users\ujjwal\openmrs\server\modules\appui-1.13.0.omod
- [INFO] Copying allergyui-omod-1.8.3.jar to C:\Users\ujjwal\openmrs\server\modules\allergyui-1.8.3.omod
- [INFO] Copying providermanagement-omod-2.12.0.jar to C:\Users\ujjwal\openmrs\server\modules\providermanagement-2.12.0.omod
- [INFO] Copying appointmentschedulingui-omod-1.9.0.jar to C:\Users\ujjwal\openmrs\server\modules\appointmentschedulingui-1.9.0.omod
- [INFO] Copying attachments-omod-2.4.0.jar to C:\Users\ujjwal\openmrs\server\modules\attachments-2.4.0.omod
- [INFO] Copying formentryapp-omod-1.4.2.jar to C:\Users\ujjwal\openmrs\server\modules\formentryapp-1.4.2.omod
- [INFO] Copying idgen-omod-4.6.0.jar to C:\Users\ujjwal\openmrs\server\modules\idgen-4.6.0.omod
- [INFO] Copying metadatamapping-omod-1.3.5.jar to C:\Users\ujjwal\openmrs\server\modules\metadatamapping-1.3.5.omod
- [INFO] Copying htmlformentryui-omod-1.11.2.jar to C:\Users\ujjwal\openmrs\server\modules\htmlformentryui-1.11.2.omod
- [INFO] Copying referencedemodata-omod-1.4.6.jar to C:\Users\ujjwal\openmrs\server\modules\referencedemodata-1.4.6.omod
- [INFO] Copying emrapi-omod-1.31.0-SNAPSHOT.jar to C:\Users\ujjwal\openmrs\server\modules\emrapi-1.31.0-SNAPSHOT.omod
- [INFO] Copying referenceapplication-omod-2.11.0.jar to C:\Users\ujjwal\openmrs\server\modules\referenceapplication-2.11.0.omod
- [INFO] Copying htmlformentry-omod-3.12.0.jar to C:\Users\ujjwal\openmrs\server\modules\htmlformentry-3.12.0.omod
- [INFO] Copying appframework-omod-2.16.0.jar to C:\Users\ujjwal\openmrs\server\modules\appframework-2.16.0.omod
- [INFO] Copying referencemetadata-omod-2.11.0.jar to C:\Users\ujjwal\openmrs\server\modules\referencemetadata-2.11.0.omod
- [INFO] Copying reportingui-omod-1.7.0.jar to C:\Users\ujjwal\openmrs\server\modules\reportingui-1.7.0.omod
- [INFO] Copying coreapps-omod-1.31.0.jar to C:\Users\ujjwal\openmrs\server\modules\coreapps-1.31.0.omod
- [INFO] Copying reportingcompatibility-omod-2.0.7.jar to C:\Users\ujjwal\openmrs\server\modules\reportingcompatibility-2.0.7.omod
- [INFO] Copying reporting-omod-1.21.0.jar to C:\Users\ujjwal\openmrs\server\modules\reporting-1.21.0.omod
- [INFO] Copying adminui-omod-1.4.0.jar to C:\Users\ujjwal\openmrs\server\modules\adminui-1.4.0.omod
- [INFO] Copying registrationcore-omod-1.10.0.jar to C:\Users\ujjwal\openmrs\server\modules\registrationcore-1.10.0.omod
- [INFO] Copying appointmentscheduling-omod-1.13.0.jar to C:\Users\ujjwal\openmrs\server\modules\appointmentscheduling-1.13.0.omod
- [INFO] Copying calculation-omod-1.2.1.jar to C:\Users\ujjwal\openmrs\server\modules\calculation-1.2.1.omod
- [INFO] Copying webservices.rest-omod-2.29.0.jar to C:\Users\ujjwal\openmrs\server\modules\webservices.rest-2.29.0.omod
- [INFO] Copying atlas-omod-2.2.4.omod to C:\Users\ujjwal\openmrs\server\modules\atlas-2.2.4.omod
- [INFO] Copying uicommons-omod-2.17.0-SNAPSHOT.jar to C:\Users\ujjwal\openmrs\server\modules\uicommons-2.17.0-SNAPSHOT.omod
- [INFO] Copying uiframework-omod-3.21.0-SNAPSHOT.jar to C:\Users\ujjwal\openmrs\server\modules\uiframework-3.21.0-SNAPSHOT.omod
- [INFO] Copying metadatasharing-omod-1.7.0.jar to C:\Users\ujjwal\openmrs\server\modules\metadatasharing-1.7.0.omod
- Downloading OWAs...
- [INFO] Downloading https://dl.bintray.com/openmrs/owa/SystemAdministration-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 (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'):
- Please specify database password (-DdbPassword) (default: ' '):
- Connected to the database.
- Importing an initial database from classpath://openmrs-platform.sql...
- Database imported successfully.
- The search index has been reset.
- Note: JDK 1.8 or above is needed for platform version 2.4.0.
- Which JDK would you like to use to run this server?:
- 1) JAVA_HOME (currently: C:\Program Files\Java\jre1.8.0_281)
- 2) Other...
- Which one do you choose? [1/2]: 1
- [INFO] Server configured successfully, path: C:\Users\ujjwal\openmrs\server
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD SUCCESS
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 01:32 min
- [INFO] Finished at: 2021-02-06T16:42:25+05:30
- [INFO] ------------------------------------------------------------------------
- PS C:\Users\ujjwal\Desktop\GSOC CONTRI\OpenMRS\openmrs-core\tools> mvn openmrs-sdk:create-project
- [INFO] Scanning for projects...
- [WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available
- [WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved: Failure to find org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 in http://mavenrepo.openmrs.org/nexus/content/repositories/public was cached in the local repository, resolution will not be reattempted until the update interval of openmrs-repo has elapsed or updates are forced
- [INFO]
- [INFO] ------------------< org.openmrs.tools:openmrs-tools >-------------------
- [INFO] Building openmrs-tools 2.5.0-SNAPSHOT
- [INFO] --------------------------------[ jar ]---------------------------------
- [WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available
- [WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved: Failure to find org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 in http://mavenrepo.openmrs.org/nexus/content/repositories/public was cached in the local repository, resolution will not be reattempted until the update interval of openmrs-repo has elapsed or updates are forced
- [INFO]
- [INFO] --- openmrs-sdk-maven-plugin:3.13.6:create-project (default-cli) @ openmrs-tools ---
- What kind of project would you like to create?:
- 1) Platform module
- 2) Reference Application module
- 3) Open Web App
- Which one do you choose? [1/2/3]: 2
- Module id uniquely identifies your module in the OpenMRS world.
- It is advised to consult your module id on https://talk.openmrs.org
- to eliminate possible collisions.
- Module id must consists of lowercase letters, must start from
- a letter, can contain alphanumerics and dots, e.g. webservices.rest,
- metadatasharing, reporting, htmlformentry.
- Please specify module id (default: 'basicexample'):
- Module name is a user friendly name displayed to the user
- instead of the module id.
- By convention it is a module id with spaces between words.
- Please specify module name (default: 'Basicexample'):
- Describe your module in a few sentences (default: 'no description'):
- GroupId, artifactId and version combined together identify
- your module in the maven repository.
- By convention OpenMRS modules use 'org.openmrs.module' as a groupId
- (must follow convention for naming java packages) and the module id
- as an artifactId. The version should follow maven versioning convention,
- which in short is: major.minor.maintenance(-SNAPSHOT).
- Please specify groupId (default: 'org.openmrs.module'):
- Please specify initial version (default: '1.0.0-SNAPSHOT'):
- What is the lowest version of the Reference Application (-Drefapp) you want to support? (default: '2.4'):
- [INFO] Archetype: openmrs-sdk-archetype-module-refapp
- [INFO] Generating project in Batch mode
- [INFO] Archetype defined by properties
- [INFO] ----------------------------------------------------------------------------
- [INFO] Using following parameters for creating project from Archetype: openmrs-sdk-archetype-module-refapp:3.13.6
- [INFO] ----------------------------------------------------------------------------
- [INFO] Parameter: groupId, Value: org.openmrs.module
- [INFO] Parameter: artifactId, Value: basicexample
- [INFO] Parameter: version, Value: 1.0.0-SNAPSHOT
- [INFO] Parameter: package, Value: org.openmrs.module.basicexample
- [INFO] Parameter: packageInPathFormat, Value: org/openmrs/module/basicexample
- [INFO] Parameter: moduleClassnamePrefix, Value: Basicexample
- [INFO] Parameter: moduleName, Value: Basicexample
- [INFO] Parameter: moduleAuthor, Value: ujjwal
- [INFO] Parameter: openmrsRefappVersion, Value: 2.4
- [INFO] Parameter: moduleDescription, Value: no description
- [INFO] Parameter: groupId, Value: org.openmrs.module
- [INFO] Parameter: version, Value: 1.0.0-SNAPSHOT
- [INFO] Parameter: package, Value: org.openmrs.module.basicexample
- [INFO] Parameter: artifactId, Value: basicexample
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 30.877 s
- [INFO] Finished at: 2021-02-06T16:43:31+05:30
- [INFO] ------------------------------------------------------------------------
- [ERROR] Failed to execute goal org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:3.13.6:create-project (default-cli) on project openmrs-tools: org.apache.maven.archetype.exception.InvalidPackaging: Unable to add module to the current project as it is not of packaging type 'pom' -> [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/MojoFailureException
- PS C:\Users\ujjwal\Desktop\GSOC CONTRI\OpenMRS\openmrs-core\tools>
Add Comment
Please, Sign In to add comment