logicahealth / InfoButtons

Infobuttons are context-sensitive links embedded in the electronic health record (EHR). They use clinical context information from the EHR, such as patient demographics, medications, diagnoses, user role, and clinical setting to help find answers to clinicians' and patients' questions using online health information resources.
28 stars 29 forks source link

Errors during "mvn clean install" #28

Open jxfish2 opened 5 years ago

jxfish2 commented 5 years ago

I am attempting to build the oib-request application.

I installed the database, ran all of the sql scripts, updated the pom.xml, and am now trying to run the "mvn clean install -Dmaven.test.skip=true" command.

I am getting the following errors:

image

image

image NOTE that there is more to this last section of errors, but I will stop here, to see if we can get this working first.

jxfish2 commented 5 years ago

Actually, there isn't much more after this section, to where it exited:

6) [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for oib-request 2.3-SNAPSHOT: [INFO] [INFO] oib-request ........................................ SUCCESS [ 0.752 s] [INFO] oib-profile-schema ................................. FAILURE [ 3.259 s] [INFO] oib-service-test ................................... SKIPPED [INFO] oib-request-schema ................................. SKIPPED [INFO] OIB Core Utility Module ............................ SKIPPED [INFO] oib-valueset-matcher ............................... SKIPPED [INFO] oib-request-db ..................................... SKIPPED [INFO] oib-request-inference-rxnorm ....................... SKIPPED [INFO] oib-ext-resources .................................. SKIPPED [INFO] oib-request-service ................................ SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4.749 s [INFO] Finished at: 2019-03-06T16:59:41-05:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.13.1:generate (xsd-generate) on project oib-profile-schema: Execution xsd-generate of goal org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.13.1:generate failed: A required class was missing while executing org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.13.1:generate: com/sun/xml/bind/api/ErrorListener [ERROR] ----------------------------------------------------- [ERROR] realm = plugin>org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.13.1 [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy [ERROR] urls[0] = file:/root/.m2/repository/org/jvnet/jaxb2/maven2/maven-jaxb2-plugin/0.13.1/maven-jaxb2-plugin-0.13.1.jar [ERROR] urls[1] = file:/root/.m2/repository/org/jvnet/jaxb2/maven2/maven-jaxb2-plugin-core/0.13.1/maven-jaxb2-plugin-core-0.13.1.jar [ERROR] urls[2] = file:/root/.m2/repository/org/apache/commons/commons-lang3/3.2.1/commons-lang3-3.2.1.jar [ERROR] urls[3] = file:/root/.m2/repository/com/sun/org/apache/xml/internal/resolver/20050927/resolver-20050927.jar [ERROR] urls[4] = file:/root/.m2/repository/org/sonatype/plexus/plexus-build-api/0.0.7/plexus-build-api-0.0.7.jar [ERROR] urls[5] = file:/root/.m2/repository/junit/junit/4.8.1/junit-4.8.1.jar [ERROR] urls[6] = file:/root/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.15/plexus-utils-1.5.15.jar [ERROR] urls[7] = file:/root/.m2/repository/org/jvnet/jaxb2/maven2/maven-jaxb22-plugin/0.13.1/maven-jaxb22-plugin-0.13.1.jar [ERROR] urls[8] = file:/root/.m2/repository/org/glassfish/jaxb/jaxb-runtime/2.2.11/jaxb-runtime-2.2.11.jar [ERROR] urls[9] = file:/root/.m2/repository/org/glassfish/jaxb/jaxb-xjc/2.2.11/jaxb-xjc-2.2.11.jar [ERROR] urls[10] = file:/root/.m2/repository/org/apache/maven/plugin-tools/maven-plugin-annotations/3.4/maven-plugin-annotations-3.4.jar [ERROR] Number of foreign imports: 1 [ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]] [ERROR] [ERROR] ----------------------------------------------------- [ERROR] : com.sun.xml.bind.api.ErrorListener [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/PluginContainerException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :oib-profile-schema