OpenXDS

Hello,

I hope you’re all doing well.

I tried installing the openXDS as stated in this link : https://github.com/jembi/openxds

but i got the following error :

openhie@openhie-OptiPlex-3020:~/Downloads/openxds-master$ sudo mvn clean install[INFO] Scanning for projects…
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.openhealthtools.openxds:openxds-registry-adapter-omar:jar:1.1.2
[WARNING] ‘build.plugins.plugin.version’ for com.google.code.maven-license-plugin:maven-license-plugin is missing. @ org.openhealthtools.openxds:openxds-registry-adapter-omar:[unknown-version], /home/openhie/Downloads/openxds-master/openxds-registry-adapter-omar/pom.xml, line 20, column 21
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.openhealthtools.openxds:openxds-repository:jar:1.1.2
[WARNING] ‘build.plugins.plugin.version’ for com.google.code.maven-license-plugin:maven-license-plugin is missing. @ org.openhealthtools.openxds:openxds-repository:[unknown-version], /home/openhie/Downloads/openxds-master/openxds-repository/pom.xml, line 60, 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] OpenXDS Parent
[INFO] OpenXDS - Apache Axis2
[INFO] OpenXDS Common Utilities
[INFO] OpenXDS - Common Web Services
[INFO] OpenXDS - Configuration
[INFO] openxds-log
[INFO] OpenXDS - NIST Iheos
[INFO] OpenXDS API
[INFO] OpenXDS - Registry Omar 3.1 Adapter
[INFO] OpenXDS - Registry Light Weight Patient
[INFO] OpenXDS - Repository
[INFO] OpenXDS - Main/Core
[INFO] OpenXDS - Web Application (Struts 2)
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building OpenXDS Parent 1.1.2
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] — maven-clean-plugin:2.5:clean (default-clean) @ openxds —
[INFO]
[INFO] — maven-install-plugin:2.4:install (default-install) @ openxds —
[INFO] Installing /home/openhie/Downloads/openxds-master/pom.xml to /root/.m2/repository/org/openhealthtools/openxds/openxds/1.1.2/openxds-1.1.2.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building OpenXDS - Apache Axis2 1.1.2
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.apache.axis2:axis2- transport-http:jar:1.5a
is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO]
[INFO] — maven-clean-plugin:2.5:clean (default-clean) @ apache-axis2 —
[INFO]
[INFO] — maven-dependency-plugin:2.8:copy-dependencies (copy-dependencies) @ apache-axis2 —
[INFO] spring-beans-2.5.6.jar already exists in destination.
[INFO] axis2-saaj-1.5.jar already exists in destination.
[INFO] annogen-0.1.0.jar already exists in destination.
[INFO] xalan-2.7.0.jar already exists in destination.
[INFO] aopalliance-1.0.jar already exists in destination.
[INFO] commons-fileupload-1.2.jar already exists in destination.
[INFO] woden-api-1.0M8.jar already exists in destination.
[INFO] postgresql-8.3-603.jdbc4.jar already exists in destination.
[INFO] geronimo-activation_1.1_spec-1.0.1.jar already exists in destination.
[INFO] axis2-transport-local-1.5.jar already exists in destination.
[INFO] mail-1.4.jar already exists in destination.
[INFO] wstx-asl-3.2.4.jar already exists in destination.
[INFO] junit-4.4.jar already exists in destination.
[INFO] axis2-transport-http-1.5a.jar already exists in destination.
[INFO] httpcore-4.0.jar already exists in destination.
[INFO] commons-lang-2.3.jar already exists in destination.
[INFO] spring-2.5.6.jar already exists in destination.
[INFO] axiom-impl-1.2.8.jar already exists in destination.
[INFO] xmlParserAPIs-2.6.0.jar already exists in destination.
[INFO] commons-logging-1.1.1.jar already exists in destination.
[INFO] geronimo-saaj_1.3_spec-1.0.1.jar already exists in destination.
[INFO] axis2-adb-codegen-1.5.jar already exists in destination.
[INFO] spring-test-2.5.6.jar already exists in destination.
[INFO] XmlSchema-1.4.3.jar already exists in destination.
[INFO] jaxen-1.1.1.jar already exists in destination.
[INFO] spring-core-2.5.6.jar already exists in destination.
[INFO] axis2-adb-1.5.jar already exists in destination.
[INFO] geronimo-jta_1.1_spec-1.1.jar already exists in destination.
[INFO] commons-collections-3.2.jar already exists in destination.
[INFO] ant-launcher-1.7.0.jar already exists in destination.
[INFO] commons-io-1.4.jar already exists in destination.
[INFO] ant-1.7.0.jar already exists in destination.
[INFO] commons-codec-1.3.jar already exists in destination.
[INFO] geronimo-javamail_1.4_spec-1.2.jar already exists in destination.
[INFO] junit-dep-4.4.jar already exists in destination.
[INFO] activation-1.1.jar already exists in destination.
[INFO] jmock-2.4.0.jar already exists in destination.
[INFO] axiom-c14n-1.2.8.jar already exists in destination.
[INFO] spring-security-core-2.0.1.jar already exists in destination.
[INFO] axiom-dom-1.2.8.jar already exists in destination.
[INFO] spring-context-2.5.6.jar already exists in destination.
[INFO] neethi-2.0.4.jar already exists in destination.
[INFO] geronimo-stax-api_1.0_spec-1.0.1.jar already exists in destination.
[INFO] axis2-codegen-1.5.jar already exists in destination.
[INFO] log4j-1.2.13.jar already exists in destination.
[INFO] wsdl4j-1.6.2.jar already exists in destination.
[INFO] spring-aop-2.5.6.jar already exists in destination.
[INFO] subethasmtp-smtp-1.2.jar already exists in destination.
[INFO] axis2-kernel-1.5.jar already exists in destination.
[INFO] jmock-junit4-2.4.0.jar already exists in destination.
[INFO] spring-security-core-tiger-2.0.1.jar already exists in destination.
[INFO] woden-impl-dom-1.0M8.jar already exists in destination.
[INFO] axiom-api-1.2.8.jar already exists in destination.
[INFO] hamcrest-library-1.1.jar already exists in destination.
[INFO] geronimo-ws-metadata_2.0_spec-1.1.2.jar already exists in destination.
[INFO] subethasmtp-wiser-1.2.jar already exists in destination.
[INFO] commons-httpclient-3.1.jar already exists in destination.
[INFO] hamcrest-core-1.1.jar already exists in destination.
[INFO]
[INFO] — maven-install-plugin:2.4:install (default-install) @ apache-axis2 —
[INFO] Installing /home/openhie/Downloads/openxds-master/apache-axis2/pom.xml to /root/.m2/repository/org/openhealthtools/openxds/apache-axis2/1.1.2/apache-axis2-1.1.2.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building OpenXDS Common Utilities 1.1.2
[INFO] ------------------------------------------------------------------------
Downloading: https://openxds.projects.openhealthtools.org/svn/openxds/repo/org/openhealthtools/openexchange/openexchange-audit/1.0-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata org.openhealthtools.openexchange:openexchange-audit:1.0-SNAPSHOT/maven-metadata.xml from/to openxds (https://openxds.projects.openhealthtools.org/svn/openxds/repo): openxds.projects.openhealthtools.org: Name or service not known
[WARNING] The metadata /root/.m2/repository/org/openhealthtools/openexchange/openexchange-audit/1.0-SNAPSHOT/maven-metadata- ibilio.xml
is invalid: end tag name must match start tag name


from line 888 (position: START_TAG seen … 08-Nov-2014 19:04 207\r\n
@888:18)
[WARNING] Failure to transfer org.openhealthtools.openexchange:openexchange-audit:1.0-SNAPSHOT/maven-metadata.xml from https://openxds.projects.openhealthtools.org/svn/openxds/repo
was cached in the local repository, resolution will not be reattempted until the update interval of openxds has elapsed or updates are forced. Original error: Could not transfer metadata org.openhealthtools.openexchange:openexchange-audit:1.0-SNAPSHOT/maven-metadata.xml from/to openxds (https://openxds.projects.openhealthtools.org/svn/openxds/repo): openxds.projects.openhealthtools.org: Name or service not known
[WARNING] The metadata /root/.m2/repository/org/openhealthtools/openexchange/openexchange-audit/1.0-SNAPSHOT/maven-metadata- ibilio.xml
is invalid: end tag name must match start tag name
from line 888 (position: START_TAG seen … 08-Nov-2014 19:04 207\r\n
@888:18)
[WARNING] The POM for org.openhealthtools.openexchange:openexchange-audit:jar:1.0-SNAPSHOT is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for org.openhealthexchange. openpixpdq:openpixpdq:jar:1.0
is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for com.misys.braid:braid-base:jar:1.2.2 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING]
The POM for ca.uhn.hapi:hapi:jar:0.5.1 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO]
[INFO] — maven-clean-plugin:2.5:clean (default-clean) @ common-utils —
[INFO] Deleting /home/openhie/Downloads/openxds-master/common-utils/target
[INFO]
[INFO] — maven-resources-plugin:2.6:resources (default-resources) @ common-utils —
[INFO] Using ‘UTF-8’ encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/openhie/Downloads/openxds-master/common-utils/src/main/resources
[INFO]
[INFO] — maven-compiler-plugin:2.0.2:compile (default-compile) @ common-utils —
[INFO] Compiling 7 source files to /home/openhie/Downloads/openxds-master/common-utils/target/classes
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] OpenXDS Parent … SUCCESS [ 0.227 s]
[INFO] OpenXDS - Apache Axis2 … SUCCESS [ 0.723 s]
[INFO] OpenXDS Common Utilities … FAILURE [ 1.136 s]
[INFO] OpenXDS - Common Web Services … SKIPPED
[INFO] OpenXDS - Configuration … SKIPPED
[INFO] openxds-log … SKIPPED
[INFO] OpenXDS - NIST Iheos … SKIPPED
[INFO] OpenXDS API … SKIPPED
[INFO] OpenXDS - Registry Omar 3.1 Adapter … SKIPPED
[INFO] OpenXDS - Registry Light Weight Patient … SKIPPED
[INFO] OpenXDS - Repository … SKIPPED
[INFO] OpenXDS - Main/Core … SKIPPED
[INFO] OpenXDS - Web Application (Struts 2) … SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.601 s
[INFO] Finished at: 2017-08-10T09:23:32+01:00
[INFO] Final Memory: 21M/266M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project common-utils: Compilation failure: Compilation failure:
[ERROR] error: error reading /root/.m2/repository/org/openhealthtools/openexchange/openexchange-audit/1.0-SNAPSHOT/openexchange-audit-1.0-SNAPSHOT.jar; error in opening zip file
[ERROR] error: error reading /root/.m2/repository/org/openhealthexchange/openpixpdq/openpixpdq/1.0/openpixpdq-1.0.jar; error in opening zip file
[ERROR] error: error reading /root/.m2/repository/com/misys/braid/braid-base/1.2.2/braid-base-1.2.2.jar; error in opening zip file
[ERROR] error: error reading /root/.m2/repository/ca/uhn/hapi/hapi/0.5.1/hapi-0.5.1.jar; error in opening zip file
[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/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :common-utils

Can anyone help me with this error.

Cheers,

Omar

Hi,

This seems to be your main error during the build.

[ERROR] error: error reading /root/.m2/repository/org/openhealthexchange/openpixpdq/openpixpdq/1.0/openpixpdq-1.0.jar; error in opening zip file
[ERROR] error: error reading /root/.m2/repository/com/misys/braid/braid-base/1.2.2/braid-base-1.2.2.jar; error in opening zip file
[ERROR] error: error reading /root/.m2/repository/ca/uhn/hapi/hapi/0.5.1/hapi-0.5.1.jar; error in opening zip file

I haven’t seen that before, but maybe check those files exist and are valid archive files. Maybe you could try removing them and downloading them again if you still don’t have any joy.

Cheers,

Ryan

···

Ryan Crichton

Lead Developer, Jembi Health Systems | SOUTH AFRICA

Mobile: +27845829934 | Skype: ryan.graham.crichton
E-mail: ryan@jembi.org

Hello,

Thank you for your reply.

I’ll try this solution.

cheers,
Omar