Hello,
i tried installing the openmrs module openhie client following this link : https://github.com/justin-fyfe/openmrs-module-openhie-client
but i ran into this error :
~/Downloads/openmrs-module- openhie-client-master$ mvn clean install
[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] OpenMRS OpenHIE Client Module
[INFO] Basic Module API
[INFO] OpenMRS OpenHIE Client OMOD
[INFO]
[INFO] ------------------------------ ------------------------------ ------------
[INFO] Building OpenMRS OpenHIE Client Module 0.1-SNAPSHOT
[INFO] ------------------------------ ------------------------------ ------------
[INFO]
[INFO] — maven-clean-plugin:2.5:clean (default-clean) @ openhie-client —
[INFO]
[INFO] — maven-install-plugin:2.4: install (default-install) @ openhie-client —
[INFO] Installing /home/ath/Downloads/openmrs- module-openhie-client-master/ pom.xml to /home/ath/.m2/repository/org/ openmrs/module/openhie-client/ 0.1-SNAPSHOT/openhie-client-0. 1-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------ ------------------------------ ------------
[INFO] Building Basic Module API 0.1-SNAPSHOT
[INFO] ------------------------------ ------------------------------ ------------
[WARNING] The POM for org.openmrs.module:shr- cdahandler-api:jar:1.0.0 is missing, no dependency information available
[WARNING] The POM for org.openmrs.module:shr- contenthandler-api:jar:3.0.0 is missing, no dependency information available
[WARNING] The POM for org.openmrs.module:shr-atna- api:jar:1.0.0 is missing, no dependency information available
[WARNING] The POM for org.dcm4che:dcm4chee-xds2- common:jar:2.0.4-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for org.dcm4che:dcm4chee-xds2- infoset:jar:2.0.4-SNAPSHOT is missing, no dependency information available
[INFO] ------------------------------ ------------------------------ ------------
[INFO] Reactor Summary:
[INFO]
[INFO] OpenMRS OpenHIE Client Module … SUCCESS [ 0.295 s]
[INFO] Basic Module API … … FAILURE [ 0.457 s]
[INFO] OpenMRS OpenHIE Client OMOD … SKIPPED
[INFO] ------------------------------ ------------------------------ ------------
[INFO] BUILD FAILURE
[INFO] ------------------------------ ------------------------------ ------------
[INFO] Total time: 0.906 s
[INFO] Finished at: 2017-08-15T13:25:36+01:00
[INFO] Final Memory: 9M/150M
[INFO] ------------------------------ ------------------------------ ------------
[ERROR] Failed to execute goal on project openhie-client-api: Could not resolve dependencies for project org.openmrs.module:openhie- client-api:jar:0.1-SNAPSHOT: The following artifacts could not be resolved: org.openmrs.module:shr- cdahandler-api:jar:1.0.0, org.openmrs.module:shr- contenthandler-api:jar:3.0.0, org.openmrs.module:shr-atna- api:jar:1.0.0, org.dcm4che:dcm4chee-xds2- common:jar:2.0.4-SNAPSHOT, org.dcm4che:dcm4chee-xds2- infoset:jar:2.0.4-SNAPSHOT: Failure to find org.openmrs.module:shr- cdahandler-api: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 -> [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/ DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :openhie-client-api
can anyone offer me some guidance ?
cheers,