Hi Sergio, I was able to reproduce this error on a clean repository build where I pointed the local maven repository to a fresh location. So this is the first time of execution.
thanks Eranda On Sun, Nov 10, 2013 at 12:09 AM, Sergio Fernández < [email protected]> wrote: > Builds fine for me, in three different machines I've just tried, plus such > construction looks to be completely fine for Jenkins too. > So I have no idea why it's failing to you. > One question: used to build before? Or is it the first time your build > marmotta and/or execute its test suite? > > > > On 09/11/13 11:35, Eranda Sooriyabandara wrote: > >> 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 >> >> >> > -- > Sergio Fernández > Senior Researcher > Knowledge and Media Technologies > Salzburg Research Forschungsgesellschaft mbH > Jakob-Haringer-Straße 5/3 | 5020 Salzburg, Austria > T: +43 662 2288 318 | M: +43 660 2747 925 > [email protected] > http://www.salzburgresearch.at > -- *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/
