Hello,
i have a problem while converting this module to a .omod file:
and the encountred errors are as follows:
~/Downloads/openmrs-module-fhir-0.91$ mvn clean package
[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
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] FHIR Module
[INFO] FHIR Module API
[INFO] FHIR Module OMOD
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building FHIR Module 0.91
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] — maven-clean-plugin:2.5:clean (default-clean) @ fhir —
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building FHIR Module API 0.91
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] — maven-clean-plugin:2.5:clean (default-clean) @ fhir-api —
[INFO] Deleting /home/ath/Downloads/openmrs-module-fhir-0.91/api/target
[INFO]
[INFO] — maven-resources-plugin:2.6:resources (default-resources) @ fhir-api —
[INFO] Using ‘UTF-8’ encoding to copy filtered resources.
[INFO] Copying 7 resources
[INFO]
[INFO] — maven-compiler-plugin:3.1:compile (default-compile) @ fhir-api —
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 59 source files to /home/ath/Downloads/openmrs-module-fhir-0.91/api/target/classes
[WARNING] /home/ath/Downloads/openmrs-module-fhir-0.91/api/src/main/java/org/openmrs/module/fhir/api/util/FHIRUtils.java: Some input files use or override a deprecated API.
[WARNING] /home/ath/Downloads/openmrs-module-fhir-0.91/api/src/main/java/org/openmrs/module/fhir/api/util/FHIRUtils.java: Recompile with -Xlint:deprecation for details.
[INFO]
[INFO] — maven-resources-plugin:2.6:testResources (default-testResources) @ fhir-api —
[INFO] Using ‘UTF-8’ encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO]
[INFO] — maven-compiler-plugin:3.1:testCompile (default-testCompile) @ fhir-api —
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 9 source files to /home/ath/Downloads/openmrs-module-fhir-0.91/api/target/test-classes
[WARNING] /home/ath/Downloads/openmrs-module-fhir-0.91/api/src/test/java/org/openmrs/module/fhir/api/PractitionerServiceTest.java: /home/ath/Downloads/openmrs-module-fhir-0.91/api/src/test/java/org/openmrs/module/fhir/api/PractitionerServiceTest.java uses or overrides a deprecated API.
[WARNING] /home/ath/Downloads/openmrs-module-fhir-0.91/api/src/test/java/org/openmrs/module/fhir/api/PractitionerServiceTest.java: Recompile with -Xlint:deprecation for details.
[INFO]
[INFO] — maven-surefire-plugin:2.12.4:test (default-test) @ fhir-api —
[INFO] Surefire report directory: /home/ath/Downloads/openmrs-module-fhir-0.91/api/target/surefire-reports
T E S T S
Running org.openmrs.module.fhir.api.AllergyIntoleranceServiceTest Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.741 sec Running org.openmrs.module.fhir.api.LocationServiceTest Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.734 sec Running org.openmrs.module.fhir.api.FamilyHistoryServiceTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.497 sec Running org.openmrs.module.fhir.api.DiagnosticReportServiceTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.267 sec Running org.openmrs.module.fhir.api.PractitionerServiceTest Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.358 sec Running org.openmrs.module.fhir.api.PatientServiceTest Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.022 sec Running org.openmrs.module.fhir.api.PersonServiceTest Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.113 sec Running org.openmrs.module.fhir.api.ObsServiceTest Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.397 sec Running org.openmrs.module.fhir.api.EncounterServiceTest Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.45 sec
Results :
Tests run: 75, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] — maven-jar-plugin:2.4:jar (default-jar) @ fhir-api —
[INFO] Building jar: /home/ath/Downloads/openmrs-module-fhir-0.91/api/target/fhir-api-0.91.jar
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building FHIR Module OMOD 0.91
[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] FHIR Module … SUCCESS [ 0.134 s]
[INFO] FHIR Module API … SUCCESS [ 21.913 s]
[INFO] FHIR Module OMOD … FAILURE [ 0.002 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 22.219 s
[INFO] Finished at: 2017-08-21T11:04:59+01:00
[INFO] Final Memory: 29M/272M
[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