DrugOrders module

Hi everyone here, i have a problem with the DrugOrders module. i have encountered this problem while trying to convert what i found in this link https://github.com/HariniParth/OpenMRS-DrugOrders, to a .omod file in order to implement it in the openmrs platform. ~/Downloads/OpenMRS-DrugOrders-master$ mvn clean install -DskipTests [INFO] Scanning for projects… [WARNING] The POM for org.openmrs.maven.plugins:maven-openmrs-plugin:jar:1.0.1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [WARNING] [WARNING] Some problems were encountered while building the effective model for org.openmrs.module:drugorders-omod:jar:1.0-SNAPSHOT [WARNING] ‘build.plugins.plugin.(groupId:artifactId)’ must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-dependency-plugin @ org.openmrs.module:drugorders-omod:[unknown-version], /home/ath/Downloads/OpenMRS-DrugOrders-master/omod/pom.xml, line 239, column 21 [WARNING] ‘build.plugins.plugin.version’ for de.saumya.mojo:gem-maven-plugin is missing. @ org.openmrs.module:drugorders-omod:[unknown-version], /home/ath/Downloads/OpenMRS-DrugOrders-master/omod/pom.xml, line 265, column 21 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] drugorders [INFO] drugorders API [INFO] drugorders OMOD [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building drugorders 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] — maven-clean-plugin:2.5:clean (default-clean) @ drugorders — [INFO] [INFO] — maven-install-plugin:2.4:install (default-install) @ drugorders — [INFO] Installing /home/ath/Downloads/OpenMRS-DrugOrders-master/pom.xml to /home/ath/.m2/repository/org/openmrs/module/drugorders/1.0-SNAPSHOT/drugorders-1.0-SNAPSHOT.pom [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building drugorders API 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] — maven-clean-plugin:2.5:clean (default-clean) @ drugorders-api — [INFO] Deleting /home/ath/Downloads/OpenMRS-DrugOrders-master/api/target [INFO] [INFO] — maven-resources-plugin:2.6:resources (default-resources) @ drugorders-api — [INFO] Using ‘UTF-8’ encoding to copy filtered resources. [INFO] Copying 7 resources [INFO] [INFO] — maven-compiler-plugin:2.3.2:compile (default-compile) @ drugorders-api — [INFO] Compiling 21 source files to /home/ath/Downloads/OpenMRS-DrugOrders-master/api/target/classes [INFO] [INFO] — maven-resources-plugin:2.6:testResources (default-testResources) @ drugorders-api — [INFO] Using ‘UTF-8’ encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/ath/Downloads/OpenMRS-DrugOrders-master/api/src/test/resources [INFO] [INFO] — maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ drugorders-api — [INFO] Compiling 1 source file to /home/ath/Downloads/OpenMRS-DrugOrders-master/api/target/test-classes [INFO] [INFO] — maven-surefire-plugin:2.12.4:test (default-test) @ drugorders-api — [INFO] Tests are skipped. [INFO] [INFO] — maven-jar-plugin:2.4:jar (default-jar) @ drugorders-api — [INFO] Building jar: /home/ath/Downloads/OpenMRS-DrugOrders-master/api/target/drugorders-api-1.0-SNAPSHOT.jar [INFO] [INFO] — maven-install-plugin:2.4:install (default-install) @ drugorders-api — [INFO] Installing /home/ath/Downloads/OpenMRS-DrugOrders-master/api/target/drugorders-api-1.0-SNAPSHOT.jar to /home/ath/.m2/repository/org/openmrs/module/drugorders-api/1.0-SNAPSHOT/drugorders-api-1.0-SNAPSHOT.jar [INFO] Installing /home/ath/Downloads/OpenMRS-DrugOrders-master/api/pom.xml to /home/ath/.m2/repository/org/openmrs/module/drugorders-api/1.0-SNAPSHOT/drugorders-api-1.0-SNAPSHOT.pom [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building drugorders OMOD 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [WARNING] The POM for org.openmrs.maven.plugins:maven-openmrs-plugin:jar:1.0.1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] drugorders … SUCCESS [ 0.173 s] [INFO] drugorders API … SUCCESS [ 2.079 s] [INFO] drugorders OMOD … FAILURE [ 0.003 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.824 s [INFO] Finished at: 2017-08-17T10:03:45+01:00 [INFO] Final Memory: 39M/198M [INFO] ------------------------------------------------------------------------ [ERROR] Plugin org.openmrs.maven.plugins:maven-openmrs-plugin:1.0.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.openmrs.maven.plugins:maven-openmrs-plugin:jar:1.0.1: 1 problem was encountered while building the effective model [ERROR] [FATAL] Non-parseable POM /home/ath/.m2/repository/org/openmrs/maven/plugins/maven-openmrs-plugin/1.0.1/maven-openmrs-plugin-1.0.1.pom: end tag name must match start tag name


from line 7 (position: TEXT seen …\n… @9:8) @ line 9, column 8 [ERROR] -> [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/PluginResolutionException would you help me with this? thank you

Maybe @hariniparth can help you with this, since the module is in that user’s github space.

(This isn’t a shared OpenMRS module, so I’m not sure if anyone else has any experience with it.)

Hello Essefi Intidhar,

Please check this link

Thanks and regards, Harini