Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C:\Users\Benz>mvn openmrs-sdk:create-project
- [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:create-project (default-cli) @ standalone-pom ---
- May 20, 2022 9:18:35 AM org.jline.utils.Log logr
- WARNING: Unable to create a system terminal, creating a dumb terminal (enable debug logging for more information)
- 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'): webapplication
- 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: 'Webapplication'): Web Application
- Describe your module in a few sentences (default: 'no description'): this is my web application for my first openmrs module
- 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'): hello
- 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'): 2.12
- [INFO] Generating project in Batch mode
- [INFO] Your filter doesn't match any archetype, so try again with another value.
- [INFO] ----------------------------------------------------------------------------
- [INFO] Using following parameters for creating project from Archetype: openmrs-sdk-archetype-module-refapp:4.4.0
- [INFO] ----------------------------------------------------------------------------
- [INFO] Parameter: groupId, Value: hello
- [INFO] Parameter: artifactId, Value: webapplication
- [INFO] Parameter: version, Value: 1.0.0-SNAPSHOT
- [INFO] Parameter: package, Value: org.openmrs.module.webapplication
- [INFO] Parameter: packageInPathFormat, Value: org/openmrs/module/webapplication
- [INFO] Parameter: moduleClassnamePrefix, Value: WebApplication
- [INFO] Parameter: moduleName, Value: Web Application
- [INFO] Parameter: moduleAuthor, Value: Benz
- [INFO] Parameter: openmrsRefappVersion, Value: 2.12
- [INFO] Parameter: moduleDescription, Value: this is my web application for my first openmrs module
- [INFO] Parameter: groupId, Value: hello
- [INFO] Parameter: version, Value: 1.0.0-SNAPSHOT
- [INFO] Parameter: package, Value: org.openmrs.module.webapplication
- [INFO] Parameter: artifactId, Value: webapplication
- [INFO] Parent element not overwritten in C:\Users\Benz\webapplication\api\pom.xml
- [INFO] Parent element not overwritten in C:\Users\Benz\webapplication\omod\pom.xml
- [INFO] Project created from Archetype in dir: C:\Users\Benz\webapplication
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD SUCCESS
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 04:58 min
- [INFO] Finished at: 2022-05-20T09:23:21+03:00
- [INFO] ------------------------------------------------------------------------
- C:\Users\Benz>mvn clean install
- [INFO] Scanning for projects...
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 0.148 s
- [INFO] Finished at: 2022-05-20T09:23:56+03:00
- [INFO] ------------------------------------------------------------------------
- [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]
- [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/MissingProjectException
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement