Advertisement
wolterbwambale

https://pastebin.com/

May 20th, 2022
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.78 KB | None | 0 0
  1. C:\Users\Benz>mvn openmrs-sdk:create-project
  2. [INFO] Scanning for projects...
  3. [INFO]
  4. [INFO] ------------------< org.apache.maven:standalone-pom >-------------------
  5. [INFO] Building Maven Stub Project (No POM) 1
  6. [INFO] --------------------------------[ pom ]---------------------------------
  7. [INFO]
  8. [INFO] --- openmrs-sdk-maven-plugin:4.4.0:create-project (default-cli) @ standalone-pom ---
  9. May 20, 2022 9:18:35 AM org.jline.utils.Log logr
  10. WARNING: Unable to create a system terminal, creating a dumb terminal (enable debug logging for more information)
  11.  
  12. What kind of project would you like to create?:
  13. 1) Platform module
  14. 2) Reference Application module
  15. 3) Open Web App
  16.  
  17. Which one do you choose? [1/2/3]: 2
  18.  
  19. Module id uniquely identifies your module in the OpenMRS world.
  20.  
  21. It is advised to consult your module id on https://talk.openmrs.org
  22. to eliminate possible collisions.
  23.  
  24. Module id must consists of lowercase letters, must start from
  25. a letter, can contain alphanumerics and dots, e.g. webservices.rest,
  26. metadatasharing, reporting, htmlformentry.
  27.  
  28. Please specify module id (default: 'basicexample'): webapplication
  29.  
  30. Module name is a user friendly name displayed to the user
  31. instead of the module id.
  32.  
  33. By convention it is a module id with spaces between words.
  34.  
  35. Please specify module name (default: 'Webapplication'): Web Application
  36.  
  37. Describe your module in a few sentences (default: 'no description'): this is my web application for my first openmrs module
  38.  
  39. GroupId, artifactId and version combined together identify
  40. your module in the maven repository.
  41.  
  42. By convention OpenMRS modules use 'org.openmrs.module' as a groupId
  43. (must follow convention for naming java packages) and the module id
  44. as an artifactId. The version should follow maven versioning convention,
  45. which in short is: major.minor.maintenance(-SNAPSHOT).
  46.  
  47. Please specify groupId (default: 'org.openmrs.module'): hello
  48.  
  49. Please specify initial version (default: '1.0.0-SNAPSHOT'):
  50.  
  51. What is the lowest version of the Reference Application (-Drefapp) you want to support? (default: '2.4'): 2.12
  52. [INFO] Generating project in Batch mode
  53. [INFO] Your filter doesn't match any archetype, so try again with another value.
  54. [INFO] ----------------------------------------------------------------------------
  55. [INFO] Using following parameters for creating project from Archetype: openmrs-sdk-archetype-module-refapp:4.4.0
  56. [INFO] ----------------------------------------------------------------------------
  57. [INFO] Parameter: groupId, Value: hello
  58. [INFO] Parameter: artifactId, Value: webapplication
  59. [INFO] Parameter: version, Value: 1.0.0-SNAPSHOT
  60. [INFO] Parameter: package, Value: org.openmrs.module.webapplication
  61. [INFO] Parameter: packageInPathFormat, Value: org/openmrs/module/webapplication
  62. [INFO] Parameter: moduleClassnamePrefix, Value: WebApplication
  63. [INFO] Parameter: moduleName, Value: Web Application
  64. [INFO] Parameter: moduleAuthor, Value: Benz
  65. [INFO] Parameter: openmrsRefappVersion, Value: 2.12
  66. [INFO] Parameter: moduleDescription, Value: this is my web application for my first openmrs module
  67. [INFO] Parameter: groupId, Value: hello
  68. [INFO] Parameter: version, Value: 1.0.0-SNAPSHOT
  69. [INFO] Parameter: package, Value: org.openmrs.module.webapplication
  70. [INFO] Parameter: artifactId, Value: webapplication
  71. [INFO] Parent element not overwritten in C:\Users\Benz\webapplication\api\pom.xml
  72. [INFO] Parent element not overwritten in C:\Users\Benz\webapplication\omod\pom.xml
  73. [INFO] Project created from Archetype in dir: C:\Users\Benz\webapplication
  74. [INFO] ------------------------------------------------------------------------
  75. [INFO] BUILD SUCCESS
  76. [INFO] ------------------------------------------------------------------------
  77. [INFO] Total time: 04:58 min
  78. [INFO] Finished at: 2022-05-20T09:23:21+03:00
  79. [INFO] ------------------------------------------------------------------------
  80.  
  81. C:\Users\Benz>mvn clean install
  82. [INFO] Scanning for projects...
  83. [INFO] ------------------------------------------------------------------------
  84. [INFO] BUILD FAILURE
  85. [INFO] ------------------------------------------------------------------------
  86. [INFO] Total time: 0.148 s
  87. [INFO] Finished at: 2022-05-20T09:23:56+03:00
  88. [INFO] ------------------------------------------------------------------------
  89. [ERROR] The goal you specified requires a project to execute but there is no POM in this directory (C:\Users\Benz). Please verify you invoked Maven from the correct directory. -> [Help 1]
  90. [ERROR]
  91. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  92. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  93. [ERROR]
  94. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  95. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement