After pulling the changes (git pull git://git.apache.org/marmotta.git ldp)
I fail building marmotta.

The failing test:

it.pkg.webservices.MyWebServiceTest.txt
-------------------------------------------------------------------------------
Test set: it.pkg.webservices.MyWebServiceTest
-------------------------------------------------------------------------------
Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 4.445 sec
<<< FAILURE!
testHello(it.pkg.webservices.MyWebServiceTest)  Time elapsed: 0.903 sec
<<< FAILURE!
java.lang.AssertionError: Body doesn't match.
Expected:
a string containing "Hello Jürgen"
Actual:
Hello J?
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
        at
org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77)
        at
org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:71)
        at
org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:81)
        at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:54)
        at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:182)
        at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:190)
        at
com.jayway.restassured.assertion.BodyMatcher.isFulfilled(BodyMatcher.groovy:43)
        at
com.jayway.restassured.assertion.BodyMatcher$isFulfilled.call(Unknown
Source)
        at
com.jayway.restassured.assertion.BodyMatcherGroup$_isFulfilled_closure1.doCall(BodyMatcherGroup.groovy:33)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at
org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
        at
org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:884)
        at groovy.lang.Closure.call(Closure.java:410)
        at groovy.lang.Closure.call(Closure.java:423)
        at
org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:1377)
        at
org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:1349)
        at org.codehaus.groovy.runtime.dgm$142.invoke(Unknown Source)
        at
org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:271)
        at
org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:53)
        at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
        at
com.jayway.restassured.assertion.BodyMatcherGroup.isFulfilled(BodyMatcherGroup.groovy:32)
        at
com.jayway.restassured.assertion.BodyMatcherGroup$isFulfilled.call(Unknown
Source)
        at
com.jayway.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:381)
        at
com.jayway.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate.call(Unknown
Source)
        at
com.jayway.restassured.internal.RequestSpecificationImpl.invokeFilterChain(RequestSpecificationImpl.groovy:732)
        at
com.jayway.restassured.internal.RequestSpecificationImpl$invokeFilterChain.callCurrent(Unknown
Source)
        at
com.jayway.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1115)
        at
com.jayway.restassured.internal.RequestSpecificationImpl.this$2$applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy)
        at
com.jayway.restassured.internal.RequestSpecificationImpl$this$2$applyPathParamsAndSendRequest.callCurrent(Unknown
Source)
        at
com.jayway.restassured.internal.RequestSpecificationImpl.get(RequestSpecificationImpl.groovy:130)
        at
com.jayway.restassured.specification.RequestSender$get.call(Unknown Source)
        at
com.jayway.restassured.internal.ResponseSpecificationImpl.get(ResponseSpecificationImpl.groovy:218)
        at
it.pkg.webservices.MyWebServiceTest.testHello(MyWebServiceTest.java:67)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
        at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
        at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
        at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
        at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
        at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
        at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
        at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
        at
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
        at
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
        at
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at
org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
        at
org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
        at
org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
        at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
        at
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)



Cheers,
Reto



On Wed, Mar 26, 2014 at 9:19 AM, Sergio Fernández <
[email protected]> wrote:

> Hi,
>
>
> On 25/03/14 19:01, Reto Gmür wrote:
>
>> I've built the ldp branch of marmotta and created an application using the
>> locally built webapp archetype.
>>
>> Unfortunately when I try to build the app I get the following error:
>>
>> Failed to execute goal on project marmotta-archetype-webapp: Could not
>> resolve dependencies for project
>> org.apache.marmotta:marmotta-archetype-webapp:war:3.2.0-SNAPSHOT: The
>> following artifacts could not be resolved:
>> org.apache.marmotta:marmotta-ldcache:jar:3.2.0-SNAPSHOT,
>> org.apache.marmotta:marmotta-reasoner:jar:3.2.0-SNAPSHOT,
>> org.apache.marmotta:marmotta-versioning:jar:3.2.0-SNAPSHOT: Could not
>> find
>> artifact org.apache.marmotta:marmotta-ldcache:jar:3.2.0-SNAPSHOT ->
>> [Help 1]
>>
>
> We've been working on fixing the artifacts in the last days, see
> MARMOTTA-395 for further details. So most likely your issue is cause by an
> out of sync between both branches. I've just merged develop into ldp
> branch, so the artifacts should be working there too.
>
> Please, let us know if that actually solves the issue. Your feedback is
> very valued for the imminent 3.2.0 release.
>
> Cheers,
>
> --
> 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
>

Reply via email to