Hi everyone,
Sorry if that is a stupid question. I am new to OpenMRS. I have just finished building and running the basicexample as per the OpenMRS SDK Installation topic. Everything is running fine, excepts that I have a web page with no login field.
So I am now following the indications in Making your First Module and I am struggling with the omrs-create-module command.
Not sure what the right format should be.
For now I have: mvn openmrs-sdk:omrs-create-module
Scanning for projects… [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] Basicexample [INFO] Basicexample API [INFO] Basicexample OMOD [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] Reactor Summary: [INFO] [INFO] Basicexample … SKIPPED [INFO] Basicexample API … SKIPPED [INFO] Basicexample OMOD … SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.548 s [INFO] Finished at: 2017-04-05T15:37:46-04:00 [INFO] Final Memory: 9M/245M [INFO] ------------------------------------------------------------------------ [ERROR] Could not find goal ‘omrs-create-module’ in plugin org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:3.8.2 among available goals info, add-feature, clone, pull, create-project, run, reset, pr, delete, deploy, build-distro, build, release, watch, run-tomcat, watch-owa, setup-sdk, help, fetch, undeploy, setup, unwatch -> [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/MojoNotFoundException
And I don’t know what I should do with that. Thank you for your help!
Franck