-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error While Installation #17
Comments
Please attach the specific errors. |
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2. Test set: org.openehr.build.FindMatchingRMClassTestTests run: 9, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.156 sec <<< FAILURE! at junit.framework.Assert.assertEquals(Assert.java:81) at org.openehr.build.FindMatchingRMClassTest.assertMatchedRMClass(FindMatchingRMClassTest.java:166) at org.openehr.build.FindMatchingRMClassTest.testMatchItemList(FindMatchingRMClassTest.java:94) |
This problem is related to the changes on HashMap in Java8. There are other places where the order of the HashMaps seem to be important but the problem is never adressed in the test. |
Yes, it is related with HashMap in Java8, it is due to the order of iteration is dependent on the historical insertion order of the hash map in previous java version. Then, you can run mvn clean install without error, after running in specific project folder firstly in "adl-serializer" |
I agree, this needs to be changed. |
I am getting some error while installation which are
Please help me how to resolve them
/**/
Tests run: 55, Failures: 1, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] The openEHR Reference Java Implementation .......... SUCCESS [ 1.768 s]
[INFO] openEHR Measurement Service Implementation ......... SUCCESS [ 4.627 s]
[INFO] openEHR Reference Model Core ....................... SUCCESS [ 7.326 s]
[INFO] openEHR Minimum Terminology Service ................ SUCCESS [ 4.527 s]
[INFO] openEHR Reference Model Domain ..................... SUCCESS [ 6.917 s]
[INFO] openEHR Archetype Object Model ..................... SUCCESS [ 5.835 s]
[INFO] openEHR Archetype Profile .......................... SUCCESS [ 4.396 s]
[INFO] java ADL Parser .................................... FAILURE [ 59.394 s]
[INFO] java dADL Parser ................................... SKIPPED
[INFO] ADL Serializer ..................................... SKIPPED
[INFO] openEHR OET Template Parser and Flattener .......... SKIPPED
[INFO] XML Serializer ..................................... SKIPPED
[INFO] openEHR Reference Model Object Builder ............. SKIPPED
[INFO] openEHR RM XML Data Binding Component .............. SKIPPED
[INFO] java dADL Binding .................................. SKIPPED
[INFO] openEHR RM Skeleton Instance Generator ............. SKIPPED
[INFO] Archetype Validator ................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:35 min
[INFO] Finished at: 2014-12-26T19:40:34+05:30
[INFO] Final Memory: 88M/234M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.
12.4:test (default-test) on project rm-builder: There are test failures.
[ERROR]
[ERROR] Please refer to C:\Users\gd\Desktop\java-libs-master\java-libs-master\rm
-builder\target\surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[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 rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
eption
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :rm-builder
/**/
.
The text was updated successfully, but these errors were encountered: