Guest User

Untitled

a guest
Feb 6th, 2021
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 30.20 KB | None | 0 0
  1. Windows PowerShell
  2. Copyright (C) Microsoft Corporation. All rights reserved.
  3.  
  4. Try the new cross-platform PowerShell https://aka.ms/pscore6
  5.  
  6. PS C:\Users\ujjwal> cd .\Desktop\
  7. PS C:\Users\ujjwal\Desktop> cd gsoc
  8. cd : Cannot find path 'C:\Users\ujjwal\Desktop\gsoc' because it does not exist.
  9. At line:1 char:1
  10. + cd gsoc
  11. + ~~~~~~~
  12. + CategoryInfo : ObjectNotFound: (C:\Users\ujjwal\Desktop\gsoc:String) [Set-Location], ItemNotFoundExcept
  13. ion
  14. + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetLocationCommand
  15.  
  16. PS C:\Users\ujjwal\Desktop> cd '.\GSOC CONTRI\'
  17. PS C:\Users\ujjwal\Desktop\GSOC CONTRI> cd .\OpenMRS\
  18. PS C:\Users\ujjwal\Desktop\GSOC CONTRI\OpenMRS> cd .\openmrs-core\
  19. PS C:\Users\ujjwal\Desktop\GSOC CONTRI\OpenMRS\openmrs-core> cd tools
  20. PS C:\Users\ujjwal\Desktop\GSOC CONTRI\OpenMRS\openmrs-core\tools> mvn org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:setup-sdk
  21. [INFO] Scanning for projects...
  22. [INFO]
  23. [INFO] ------------------< org.openmrs.tools:openmrs-tools >-------------------
  24. [INFO] Building openmrs-tools 2.5.0-SNAPSHOT
  25. [INFO] --------------------------------[ jar ]---------------------------------
  26. [INFO]
  27. [INFO] --- openmrs-sdk-maven-plugin:3.13.6:setup-sdk (default-cli) @ openmrs-tools ---
  28.  
  29. 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
  30. [INFO] SDK installed successfully, settings file: C:\Users\ujjwal\.m2\settings.xml
  31. [INFO] Now you can use sdk: mvn openmrs-sdk:<task_name>
  32. [INFO] ------------------------------------------------------------------------
  33. [INFO] BUILD SUCCESS
  34. [INFO] ------------------------------------------------------------------------
  35. [INFO] Total time: 12.595 s
  36. [INFO] Finished at: 2021-02-06T16:38:22+05:30
  37. [INFO] ------------------------------------------------------------------------
  38. PS C:\Users\ujjwal\Desktop\GSOC CONTRI\OpenMRS\openmrs-core\tools>
  39. >> mvn openmrs-sdk:help
  40. [INFO] Scanning for projects...
  41. [WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available
  42. [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
  43. [INFO]
  44. [INFO] ------------------< org.openmrs.tools:openmrs-tools >-------------------
  45. [INFO] Building openmrs-tools 2.5.0-SNAPSHOT
  46. [INFO] --------------------------------[ jar ]---------------------------------
  47. [WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available
  48. [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
  49. [INFO]
  50. [INFO] --- openmrs-sdk-maven-plugin:3.13.6:help (default-cli) @ openmrs-tools ---
  51.  
  52.  
  53. OpenMRS SDK 3.13.6
  54.  
  55. For more info, see SDK documentation: https://wiki.openmrs.org/display/docs/OpenMRS+SDK
  56.  
  57.  
  58. usage: create-project
  59. Description: Create platform/reference application/owa module
  60.  
  61.  
  62. usage: setup
  63. Description: Setup a new instance of OpenMRS server. It can be used for
  64. setting up a platform or a distribution. It prompts for any missing, but
  65. required parameters.
  66. -DaddDemoData Add demo data when setting up a platform server.
  67. -DdbDriver Database driver e.g. 'mysql' or 'h2'.
  68. -DdbPassword Password for the database user.
  69. -DdbUri Uri for JDBC connection to the database (default
  70. value matches dbDriver)
  71. -DdbUser Username for the database (defaults to 'root').
  72. -Ddistro OpenMRS Distribution to setup in a format
  73. 'groupId:artifactId:version'. You can skip
  74. groupId, if it is 'org.openmrs.distro'.
  75. -Dfile Path to installation.properties file for batch
  76. setup.
  77. -Dplatform OpenMRS Platform version to setup e.g. '1.11.5'.
  78. -DserverId Unique id of a server.
  79.  
  80. usage: deploy
  81. Description: Deploy a module/distribution/platform to a server. It can be
  82. used for deploying a new artifact or upgrading/downgrading an artifact,
  83. which was previosly deployed.
  84. -DartifactId Artifact id of an artifact, which you want to
  85. deploy.
  86. -DgroupId Group id of an artifact, which you want to deploy
  87. (defaults to 'org.openmrs.module').
  88. -DserverId Unique id of a server.
  89. -Dversion Version of an artifact, which you want to deploy.
  90.  
  91. usage: undeploy
  92. Description: Undeploy a module from a server.
  93. -DartifactId Artifact id of a module, which you want to
  94. undeploy.
  95. -DgroupId Group id of a module, which you want to undeploy
  96. (defaults to 'org.openmrs.module').
  97. -DserverId Unique id of a server.
  98.  
  99. usage: reset
  100. Description: Reset server and its database to the initial state.
  101. -Dfull If 'true', delete modules installed manually
  102. (defaults to 'false').
  103. -Dserverid Unique id of a server.
  104.  
  105. usage: delete
  106. Description: Delete a server and its database.
  107. -DserverId Unique id of a server.
  108.  
  109. usage: run
  110. Description: Start a server. If it is run from a module/distro/platform
  111. project, the project will be redeployed before launching.
  112. -Ddebug Enable remote debugging on the given port (defaults
  113. to '1044' if empty).
  114. -Dfork Set to 'false' to disable forking a process for
  115. running the server (defaults to 'true'). Useful for
  116. debugging within an IDE without a remote debugger.
  117. Not that 'false' disables the live-reloading
  118. feature.
  119. -Dport Port to use for running the server (defaults to
  120. '8080').
  121. -DserverId Unique id of a server.
  122.  
  123. usage: watch
  124. Description: Add a module from the current directory to the list of
  125. watched projects. It enables the live-reloading feature for a module.
  126. -DserverId Unique id of a server.
  127.  
  128. usage: unwatch
  129. Description: Remove a module from the list of watched projects. It
  130. disabled the live-reloading feature for a module.
  131. -DartifactId Artifact id of a module to unwatch.
  132. -DgroupId Group id of a module to unwatch. It is optional,
  133. if artifact id is unambiguous.
  134. -DserverId Unique id of a server.
  135.  
  136. usage: info
  137. Description: Display server details including the list of watched modules.
  138. -DserverId Unique id of a server.
  139.  
  140. [INFO] ------------------------------------------------------------------------
  141. [INFO] BUILD SUCCESS
  142. [INFO] ------------------------------------------------------------------------
  143. [INFO] Total time: 2.258 s
  144. [INFO] Finished at: 2021-02-06T16:39:09+05:30
  145. [INFO] ------------------------------------------------------------------------
  146. PS C:\Users\ujjwal\Desktop\GSOC CONTRI\OpenMRS\openmrs-core\tools> mvn openmrs-sdk:setup-sdk -U
  147. [INFO] Scanning for projects...
  148. 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
  149. 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
  150. Downloading from central: https://repo.maven.apache.org/maven2/org/eclipse/m2e/lifecycle-mapping/1.0.0/lifecycle-mapping-1.0.0.pom
  151. [WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available
  152. 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
  153. 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
  154. Downloading from central: https://repo.maven.apache.org/maven2/org/eclipse/m2e/lifecycle-mapping/1.0.0/lifecycle-mapping-1.0.0.jar
  155. [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)
  156. Downloading from central: https://repo.maven.apache.org/maven2/org/openmrs/maven/plugins/maven-metadata.xml
  157. Downloading from openmrs-bintray-repo: https://dl.bintray.com/openmrs/maven/org/openmrs/maven/plugins/maven-metadata.xml
  158. Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-metadata.xml
  159. Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/maven/plugins/maven-metadata.xml
  160. Downloaded from central: https://repo.maven.apache.org/maven2/org/openmrs/maven/plugins/maven-metadata.xml (432 B at 601 B/s)
  161. Downloading from openmrs-bintray-repo: https://dl.bintray.com/openmrs/maven/org/apache/maven/plugins/maven-metadata.xml
  162. Downloaded from openmrs-bintray-repo: https://dl.bintray.com/openmrs/maven/org/openmrs/maven/plugins/maven-metadata.xml (432 B at 271 B/s)
  163. Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml
  164. Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml (14 kB at 38 kB/s)
  165. Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/codehaus/mojo/maven-metadata.xml
  166. Downloading from openmrs-bintray-repo: https://dl.bintray.com/openmrs/maven/org/codehaus/mojo/maven-metadata.xml
  167. 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)
  168. Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml
  169. 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)
  170. Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml (20 kB at 64 kB/s)
  171. 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)
  172. Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/maven/plugins/openmrs-sdk-maven-plugin/maven-metadata.xml
  173. Downloading from central: https://repo.maven.apache.org/maven2/org/openmrs/maven/plugins/openmrs-sdk-maven-plugin/maven-metadata.xml
  174. Downloading from openmrs-bintray-repo: https://dl.bintray.com/openmrs/maven/org/openmrs/maven/plugins/openmrs-sdk-maven-plugin/maven-metadata.xml
  175. 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)
  176. 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)
  177. 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)
  178. [INFO]
  179. [INFO] ------------------< org.openmrs.tools:openmrs-tools >-------------------
  180. [INFO] Building openmrs-tools 2.5.0-SNAPSHOT
  181. [INFO] --------------------------------[ jar ]---------------------------------
  182. [WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available
  183. [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
  184. [INFO]
  185. [INFO] --- openmrs-sdk-maven-plugin:3.13.6:setup-sdk (default-cli) @ openmrs-tools ---
  186. [INFO] SDK installed successfully, settings file: C:\Users\ujjwal\.m2\settings.xml
  187. [INFO] Now you can use sdk: mvn openmrs-sdk:<task_name>
  188. [INFO] ------------------------------------------------------------------------
  189. [INFO] BUILD SUCCESS
  190. [INFO] ------------------------------------------------------------------------
  191. [INFO] Total time: 17.489 s
  192. [INFO] Finished at: 2021-02-06T16:40:38+05:30
  193. [INFO] ------------------------------------------------------------------------
  194. PS C:\Users\ujjwal\Desktop\GSOC CONTRI\OpenMRS\openmrs-core\tools> mvn openmrs-sdk:setup
  195. [INFO] Scanning for projects...
  196. [WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available
  197. [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
  198. [INFO]
  199. [INFO] ------------------< org.openmrs.tools:openmrs-tools >-------------------
  200. [INFO] Building openmrs-tools 2.5.0-SNAPSHOT
  201. [INFO] --------------------------------[ jar ]---------------------------------
  202. [WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available
  203. [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
  204. [INFO]
  205. [INFO] --- openmrs-sdk-maven-plugin:3.13.6:setup (default-cli) @ openmrs-tools ---
  206.  
  207. Setting up a new server...
  208.  
  209. Specify server id (-DserverId) (default: 'server'):
  210.  
  211. You can setup the following servers:
  212. 1) Distribution
  213. 2) Platform
  214.  
  215. Which one do you choose? [1/2]: 1
  216.  
  217. You can deploy the following versions of distribution:
  218. 1) Reference Application 2.12.0-SNAPSHOT
  219. 2) Reference Application 2.11.0
  220. 3) Reference Application 2.10.0
  221. 4) Reference Application 2.9.0
  222. 5) Reference Application 2.8.1
  223. 6) Other...
  224.  
  225. Which one do you choose? [1/2/3/4/5/6]: 1
  226. [INFO] Configured Artifact: org.openmrs.distro:referenceapplication-package:2.12.0-SNAPSHOT:jar
  227. [INFO] Copying referenceapplication-package-2.12.0-SNAPSHOT.jar to C:\Users\ujjwal\openmrs\server\openmrs-distro.jar
  228. [INFO] Configured Artifact: org.openmrs.web:openmrs-webapp:2.4.0:war
  229. [INFO] Copying openmrs-webapp-2.4.0.war to C:\Users\ujjwal\openmrs\server\openmrs-2.4.0.war
  230. [INFO] Configured Artifact: org.openmrs.module:addresshierarchy-omod:2.14.2:jar
  231. [INFO] Configured Artifact: org.openmrs.module:legacyui-omod:1.8.2-SNAPSHOT:jar
  232. [INFO] Configured Artifact: org.openmrs.module:metadatadeploy-omod:1.12.1:jar
  233. [INFO] Configured Artifact: org.openmrs.module:reportingrest-omod:1.11.0:jar
  234. [INFO] Configured Artifact: org.openmrs.module:owa-omod:1.12.0:jar
  235. [INFO] Configured Artifact: org.openmrs.module:fhir2-omod:1.1.0:jar
  236. [INFO] Configured Artifact: org.openmrs.module:serialization.xstream-omod:0.2.14:omod
  237. [INFO] Configured Artifact: org.openmrs.module:registrationapp-omod:1.22.0-SNAPSHOT:jar
  238. [INFO] Configured Artifact: org.openmrs:event-omod:2.8.0:jar
  239. [INFO] Configured Artifact: org.openmrs.module:uilibrary-omod:2.0.6:jar
  240. [INFO] Configured Artifact: org.openmrs.module:htmlwidgets-omod:1.10.0:jar
  241. [INFO] Configured Artifact: org.openmrs.module:dataexchange-omod:1.3.6:jar
  242. [INFO] Configured Artifact: org.openmrs.module:appui-omod:1.13.0:jar
  243. [INFO] Configured Artifact: org.openmrs.module:allergyui-omod:1.8.3:jar
  244. [INFO] Configured Artifact: org.openmrs.module:providermanagement-omod:2.12.0:jar
  245. [INFO] Configured Artifact: org.openmrs.module:appointmentschedulingui-omod:1.9.0:jar
  246. [INFO] Configured Artifact: org.openmrs.module:attachments-omod:2.4.0:jar
  247. [INFO] Configured Artifact: org.openmrs.module:formentryapp-omod:1.4.2:jar
  248. [INFO] Configured Artifact: org.openmrs.module:idgen-omod:4.6.0:jar
  249. [INFO] Configured Artifact: org.openmrs.module:metadatamapping-omod:1.3.5:jar
  250. [INFO] Configured Artifact: org.openmrs.module:htmlformentryui-omod:1.11.2:jar
  251. [INFO] Configured Artifact: org.openmrs.module:referencedemodata-omod:1.4.6:jar
  252. [INFO] Configured Artifact: org.openmrs.module:emrapi-omod:1.31.0-SNAPSHOT:jar
  253. [INFO] Configured Artifact: org.openmrs.module:referenceapplication-omod:2.11.0:jar
  254. [INFO] Configured Artifact: org.openmrs.module:htmlformentry-omod:3.12.0:jar
  255. [INFO] Configured Artifact: org.openmrs.module:appframework-omod:2.16.0:jar
  256. [INFO] Configured Artifact: org.openmrs.module:referencemetadata-omod:2.11.0:jar
  257. [INFO] Configured Artifact: org.openmrs.module:reportingui-omod:1.7.0:jar
  258. [INFO] Configured Artifact: org.openmrs.module:coreapps-omod:1.31.0:jar
  259. [INFO] Configured Artifact: org.openmrs.module:reportingcompatibility-omod:2.0.7:jar
  260. [INFO] Configured Artifact: org.openmrs.module:reporting-omod:1.21.0:jar
  261. [INFO] Configured Artifact: org.openmrs.module:adminui-omod:1.4.0:jar
  262. [INFO] Configured Artifact: org.openmrs.module:registrationcore-omod:1.10.0:jar
  263. [INFO] Configured Artifact: org.openmrs.module:appointmentscheduling-omod:1.13.0:jar
  264. [INFO] Configured Artifact: org.openmrs.module:calculation-omod:1.2.1:jar
  265. [INFO] Configured Artifact: org.openmrs.module:webservices.rest-omod:2.29.0:jar
  266. [INFO] Configured Artifact: org.openmrs.module:atlas-omod:2.2.4:omod
  267. [INFO] Configured Artifact: org.openmrs.module:uicommons-omod:2.17.0-SNAPSHOT:jar
  268. [INFO] Configured Artifact: org.openmrs.module:uiframework-omod:3.21.0-SNAPSHOT:jar
  269. [INFO] Configured Artifact: org.openmrs.module:metadatasharing-omod:1.7.0:jar
  270. [INFO] Copying addresshierarchy-omod-2.14.2.jar to C:\Users\ujjwal\openmrs\server\modules\addresshierarchy-2.14.2.omod
  271. [INFO] Copying legacyui-omod-1.8.2-SNAPSHOT.jar to C:\Users\ujjwal\openmrs\server\modules\legacyui-1.8.2-SNAPSHOT.omod
  272. [INFO] Copying metadatadeploy-omod-1.12.1.jar to C:\Users\ujjwal\openmrs\server\modules\metadatadeploy-1.12.1.omod
  273. [INFO] Copying reportingrest-omod-1.11.0.jar to C:\Users\ujjwal\openmrs\server\modules\reportingrest-1.11.0.omod
  274. [INFO] Copying owa-omod-1.12.0.jar to C:\Users\ujjwal\openmrs\server\modules\owa-1.12.0.omod
  275. [INFO] Copying fhir2-omod-1.1.0.jar to C:\Users\ujjwal\openmrs\server\modules\fhir2-1.1.0.omod
  276. [INFO] Copying serialization.xstream-omod-0.2.14.omod to C:\Users\ujjwal\openmrs\server\modules\serialization.xstream-0.2.14.omod
  277. [INFO] Copying registrationapp-omod-1.22.0-SNAPSHOT.jar to C:\Users\ujjwal\openmrs\server\modules\registrationapp-1.22.0-SNAPSHOT.omod
  278. [INFO] Copying event-omod-2.8.0.jar to C:\Users\ujjwal\openmrs\server\modules\event-2.8.0.omod
  279. [INFO] Copying uilibrary-omod-2.0.6.jar to C:\Users\ujjwal\openmrs\server\modules\uilibrary-2.0.6.omod
  280. [INFO] Copying htmlwidgets-omod-1.10.0.jar to C:\Users\ujjwal\openmrs\server\modules\htmlwidgets-1.10.0.omod
  281. [INFO] Copying dataexchange-omod-1.3.6.jar to C:\Users\ujjwal\openmrs\server\modules\dataexchange-1.3.6.omod
  282. [INFO] Copying appui-omod-1.13.0.jar to C:\Users\ujjwal\openmrs\server\modules\appui-1.13.0.omod
  283. [INFO] Copying allergyui-omod-1.8.3.jar to C:\Users\ujjwal\openmrs\server\modules\allergyui-1.8.3.omod
  284. [INFO] Copying providermanagement-omod-2.12.0.jar to C:\Users\ujjwal\openmrs\server\modules\providermanagement-2.12.0.omod
  285. [INFO] Copying appointmentschedulingui-omod-1.9.0.jar to C:\Users\ujjwal\openmrs\server\modules\appointmentschedulingui-1.9.0.omod
  286. [INFO] Copying attachments-omod-2.4.0.jar to C:\Users\ujjwal\openmrs\server\modules\attachments-2.4.0.omod
  287. [INFO] Copying formentryapp-omod-1.4.2.jar to C:\Users\ujjwal\openmrs\server\modules\formentryapp-1.4.2.omod
  288. [INFO] Copying idgen-omod-4.6.0.jar to C:\Users\ujjwal\openmrs\server\modules\idgen-4.6.0.omod
  289. [INFO] Copying metadatamapping-omod-1.3.5.jar to C:\Users\ujjwal\openmrs\server\modules\metadatamapping-1.3.5.omod
  290. [INFO] Copying htmlformentryui-omod-1.11.2.jar to C:\Users\ujjwal\openmrs\server\modules\htmlformentryui-1.11.2.omod
  291. [INFO] Copying referencedemodata-omod-1.4.6.jar to C:\Users\ujjwal\openmrs\server\modules\referencedemodata-1.4.6.omod
  292. [INFO] Copying emrapi-omod-1.31.0-SNAPSHOT.jar to C:\Users\ujjwal\openmrs\server\modules\emrapi-1.31.0-SNAPSHOT.omod
  293. [INFO] Copying referenceapplication-omod-2.11.0.jar to C:\Users\ujjwal\openmrs\server\modules\referenceapplication-2.11.0.omod
  294. [INFO] Copying htmlformentry-omod-3.12.0.jar to C:\Users\ujjwal\openmrs\server\modules\htmlformentry-3.12.0.omod
  295. [INFO] Copying appframework-omod-2.16.0.jar to C:\Users\ujjwal\openmrs\server\modules\appframework-2.16.0.omod
  296. [INFO] Copying referencemetadata-omod-2.11.0.jar to C:\Users\ujjwal\openmrs\server\modules\referencemetadata-2.11.0.omod
  297. [INFO] Copying reportingui-omod-1.7.0.jar to C:\Users\ujjwal\openmrs\server\modules\reportingui-1.7.0.omod
  298. [INFO] Copying coreapps-omod-1.31.0.jar to C:\Users\ujjwal\openmrs\server\modules\coreapps-1.31.0.omod
  299. [INFO] Copying reportingcompatibility-omod-2.0.7.jar to C:\Users\ujjwal\openmrs\server\modules\reportingcompatibility-2.0.7.omod
  300. [INFO] Copying reporting-omod-1.21.0.jar to C:\Users\ujjwal\openmrs\server\modules\reporting-1.21.0.omod
  301. [INFO] Copying adminui-omod-1.4.0.jar to C:\Users\ujjwal\openmrs\server\modules\adminui-1.4.0.omod
  302. [INFO] Copying registrationcore-omod-1.10.0.jar to C:\Users\ujjwal\openmrs\server\modules\registrationcore-1.10.0.omod
  303. [INFO] Copying appointmentscheduling-omod-1.13.0.jar to C:\Users\ujjwal\openmrs\server\modules\appointmentscheduling-1.13.0.omod
  304. [INFO] Copying calculation-omod-1.2.1.jar to C:\Users\ujjwal\openmrs\server\modules\calculation-1.2.1.omod
  305. [INFO] Copying webservices.rest-omod-2.29.0.jar to C:\Users\ujjwal\openmrs\server\modules\webservices.rest-2.29.0.omod
  306. [INFO] Copying atlas-omod-2.2.4.omod to C:\Users\ujjwal\openmrs\server\modules\atlas-2.2.4.omod
  307. [INFO] Copying uicommons-omod-2.17.0-SNAPSHOT.jar to C:\Users\ujjwal\openmrs\server\modules\uicommons-2.17.0-SNAPSHOT.omod
  308. [INFO] Copying uiframework-omod-3.21.0-SNAPSHOT.jar to C:\Users\ujjwal\openmrs\server\modules\uiframework-3.21.0-SNAPSHOT.omod
  309. [INFO] Copying metadatasharing-omod-1.7.0.jar to C:\Users\ujjwal\openmrs\server\modules\metadatasharing-1.7.0.omod
  310.  
  311. Downloading OWAs...
  312.  
  313. [INFO] Downloading https://dl.bintray.com/openmrs/owa/SystemAdministration-1.2.zip
  314.  
  315. What port would you like your server to use? (default: '8080'):
  316.  
  317. If you want to enable remote debugging by default when running the server,
  318. specify the port number here (e.g. 1044). Leave blank to disable debugging.
  319. (Do not do this on a production server) (default: 'no debugging'): 1044
  320.  
  321. Which database would you like to use?:
  322. 1) MySQL 5.6 (requires pre-installed MySQL 5.6)
  323. 2) MySQL 5.6 in SDK docker container (requires pre-installed Docker)
  324. 3) Existing docker container (requires pre-installed Docker)
  325.  
  326. Which one do you choose? [1/2/3]: 1
  327.  
  328. The distribution requires MySQL database. Please specify database uri (-DdbUri) (default: 'jdbc:mysql://localhost:3306/@DBNAME@'):
  329.  
  330. Please specify database username (-DdbUser) (default: 'root'):
  331. Please specify database password (-DdbPassword) (default: ' '):
  332.  
  333. Connected to the database.
  334.  
  335. Importing an initial database from classpath://openmrs-platform.sql...
  336.  
  337. Database imported successfully.
  338.  
  339. The search index has been reset.
  340.  
  341. Note: JDK 1.8 or above is needed for platform version 2.4.0.
  342.  
  343. Which JDK would you like to use to run this server?:
  344. 1) JAVA_HOME (currently: C:\Program Files\Java\jre1.8.0_281)
  345. 2) Other...
  346.  
  347. Which one do you choose? [1/2]: 1
  348. [INFO] Server configured successfully, path: C:\Users\ujjwal\openmrs\server
  349. [INFO] ------------------------------------------------------------------------
  350. [INFO] BUILD SUCCESS
  351. [INFO] ------------------------------------------------------------------------
  352. [INFO] Total time: 01:32 min
  353. [INFO] Finished at: 2021-02-06T16:42:25+05:30
  354. [INFO] ------------------------------------------------------------------------
  355. PS C:\Users\ujjwal\Desktop\GSOC CONTRI\OpenMRS\openmrs-core\tools> mvn openmrs-sdk:create-project
  356. [INFO] Scanning for projects...
  357. [WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available
  358. [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
  359. [INFO]
  360. [INFO] ------------------< org.openmrs.tools:openmrs-tools >-------------------
  361. [INFO] Building openmrs-tools 2.5.0-SNAPSHOT
  362. [INFO] --------------------------------[ jar ]---------------------------------
  363. [WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available
  364. [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
  365. [INFO]
  366. [INFO] --- openmrs-sdk-maven-plugin:3.13.6:create-project (default-cli) @ openmrs-tools ---
  367.  
  368. What kind of project would you like to create?:
  369. 1) Platform module
  370. 2) Reference Application module
  371. 3) Open Web App
  372.  
  373. Which one do you choose? [1/2/3]: 2
  374.  
  375. Module id uniquely identifies your module in the OpenMRS world.
  376.  
  377. It is advised to consult your module id on https://talk.openmrs.org
  378. to eliminate possible collisions.
  379.  
  380. Module id must consists of lowercase letters, must start from
  381. a letter, can contain alphanumerics and dots, e.g. webservices.rest,
  382. metadatasharing, reporting, htmlformentry.
  383.  
  384. Please specify module id (default: 'basicexample'):
  385.  
  386. Module name is a user friendly name displayed to the user
  387. instead of the module id.
  388.  
  389. By convention it is a module id with spaces between words.
  390.  
  391. Please specify module name (default: 'Basicexample'):
  392.  
  393. Describe your module in a few sentences (default: 'no description'):
  394.  
  395. GroupId, artifactId and version combined together identify
  396. your module in the maven repository.
  397.  
  398. By convention OpenMRS modules use 'org.openmrs.module' as a groupId
  399. (must follow convention for naming java packages) and the module id
  400. as an artifactId. The version should follow maven versioning convention,
  401. which in short is: major.minor.maintenance(-SNAPSHOT).
  402.  
  403. Please specify groupId (default: 'org.openmrs.module'):
  404.  
  405. Please specify initial version (default: '1.0.0-SNAPSHOT'):
  406.  
  407. What is the lowest version of the Reference Application (-Drefapp) you want to support? (default: '2.4'):
  408. [INFO] Archetype: openmrs-sdk-archetype-module-refapp
  409. [INFO] Generating project in Batch mode
  410. [INFO] Archetype defined by properties
  411. [INFO] ----------------------------------------------------------------------------
  412. [INFO] Using following parameters for creating project from Archetype: openmrs-sdk-archetype-module-refapp:3.13.6
  413. [INFO] ----------------------------------------------------------------------------
  414. [INFO] Parameter: groupId, Value: org.openmrs.module
  415. [INFO] Parameter: artifactId, Value: basicexample
  416. [INFO] Parameter: version, Value: 1.0.0-SNAPSHOT
  417. [INFO] Parameter: package, Value: org.openmrs.module.basicexample
  418. [INFO] Parameter: packageInPathFormat, Value: org/openmrs/module/basicexample
  419. [INFO] Parameter: moduleClassnamePrefix, Value: Basicexample
  420. [INFO] Parameter: moduleName, Value: Basicexample
  421. [INFO] Parameter: moduleAuthor, Value: ujjwal
  422. [INFO] Parameter: openmrsRefappVersion, Value: 2.4
  423. [INFO] Parameter: moduleDescription, Value: no description
  424. [INFO] Parameter: groupId, Value: org.openmrs.module
  425. [INFO] Parameter: version, Value: 1.0.0-SNAPSHOT
  426. [INFO] Parameter: package, Value: org.openmrs.module.basicexample
  427. [INFO] Parameter: artifactId, Value: basicexample
  428. [INFO] ------------------------------------------------------------------------
  429. [INFO] BUILD FAILURE
  430. [INFO] ------------------------------------------------------------------------
  431. [INFO] Total time: 30.877 s
  432. [INFO] Finished at: 2021-02-06T16:43:31+05:30
  433. [INFO] ------------------------------------------------------------------------
  434. [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]
  435. [ERROR]
  436. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  437. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  438. [ERROR]
  439. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  440. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
  441. PS C:\Users\ujjwal\Desktop\GSOC CONTRI\OpenMRS\openmrs-core\tools>
  442.  
  443.  
  444.  
  445.  
  446.  
Add Comment
Please, Sign In to add comment