Hi devs,
I am getting following [2] failure when I build the marmotta develop
 branch. When I am using hamcrest 1.2, the build was a success.  I found a
clue in [1], but since I am not familiar with the code I still don't have
an idea.

thanks
Eranda

[1].
http://stackoverflow.com/questions/13892635/allof-hamcrest-matcher-with-maven


[2]. [ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile
(default-testCompile) on project kiwi-reasoner: Compilation failure
[ERROR]
/E:/marmotta/libraries/kiwi/kiwi-reasoner/src/test/java/org/apache/marmotta/kiwi/reasoner/test/engine/JustificationResolutionTest.java:[228,95]
no suitable method found for allOf(org.hamcrest.
[ERROR] method
org.hamcrest.Matchers.<T>allOf(java.lang.Iterable<org.hamcrest.Matcher<?
super T>>) is not applicable
[ERROR] (cannot instantiate from arguments because actual and formal
argument lists differ in length)
[ERROR] method org.hamcrest.Matchers.<T>allOf(org.hamcrest.Matcher<? super
T>,org.hamcrest.Matcher<? super T>) is not applicable
[ERROR] (null)
[ERROR] method org.hamcrest.Matchers.<T>allOf(org.hamcrest.Matcher<? super
T>,org.hamcrest.Matcher<? super T>,org.hamcrest.Matcher<? super T>) is not
applicable
[ERROR] (cannot instantiate from arguments because actual and formal
argument lists differ in length)
[ERROR] method org.hamcrest.Matchers.<T>allOf(org.hamcrest.Matcher<? super
T>,org.hamcrest.Matcher<? super T>,org.hamcrest.Matcher<? super
T>,org.hamcrest.Matcher<? super T>) is not applicable
[ERROR] (cannot instantiate from arguments because actual and formal
argument lists differ in length)
[ERROR] method org.hamcrest.Matchers.<T>allOf(org.hamcrest.Matcher<? super
T>,org.hamcrest.Matcher<? super T>,org.hamcrest.Matcher<? super
T>,org.hamcrest.Matcher<? super T>,org.hamcrest.Matcher<? sup
[ERROR] (cannot instantiate from arguments because actual and formal
argument lists differ in length)
[ERROR] method org.hamcrest.Matchers.<T>allOf(org.hamcrest.Matcher<? super
T>,org.hamcrest.Matcher<? super T>,org.hamcrest.Matcher<? super
T>,org.hamcrest.Matcher<? super T>,org.hamcrest.Matcher<? sup
[ERROR] (cannot instantiate from arguments because actual and formal
argument lists differ in length)
[ERROR] method org.hamcrest.Matchers.<T>allOf(org.hamcrest.Matcher<? super
T>...) is not applicable
[ERROR] (null)
[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


-- 
*Eranda Sooriyabandara*
E-mail: eranda.sooriyabandara AT gmail.com
Mobile: +94 716 472 816
Linked-In: http://www.linkedin.com/in/erandasooriyabandara
Blog: http://emsooriyabandara.blogspot.com/

Reply via email to