Hi Rupert, all

Thank you very much for your help. The following steps helped me:


> Based on this observation I think the problem we need to solve is to
> force Maven to download "org.apache:apache:9" form
> "http://repo1.maven.org/maven2/";.
> 
> The following things might help with that
> 
> 1) you can try to call "mvn -U clean" and than try to "mvn install" again.
> 
> This might help because
> 
> -U,--update-snapshots       Forces a check for updated
>                                       releases and snapshots on remote
> 
> 2) you can try to manually delete the folder
> "/Users/ca3533/.m2/repository/org/apache/apache/9/" in your local
> cache

Sorry for bothering you and all of you. I think that with your help I am making 
progress to built Stanbol. 
I have another issue. 

After, I did the above steps, I tried to "mvn install" again. As result, I got 
the following as Error:


[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 44:48.125s
[INFO] Finished at: Sun Feb 05 12:19:51 GMT 2012
[INFO] Final Memory: 147M/415M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.10:test (default-test) on 
project org.apache.stanbol.integration-tests: There are test failures.
[ERROR] 
[ERROR] Please refer to 
/Users/ca3533/Desktop/DATAMIProjectDev/stanbol/integration-tests/target/surefire-reports
 for the individual test results.
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.10:test (default-test) on 
project org.apache.stanbol.integration-tests: There are test failures.

Please refer to 
/Users/ca3533/Desktop/DATAMIProjectDev/stanbol/integration-tests/target/surefire-reports
 for the individual test results.
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
        at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
        at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
        at 
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
        at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test 
failures.

Please refer to 
/Users/ca3533/Desktop/DATAMIProjectDev/stanbol/integration-tests/target/surefire-reports
 for the individual test results.
        at 
org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:87)
        at 
org.apache.maven.plugin.surefire.SurefirePlugin.writeSummary(SurefirePlugin.java:641)
        at 
org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:615)
        at 
org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:137)
        at 
org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:98)
        at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
        ... 19 more
[ERROR] 
[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
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :org.apache.stanbol.integration-tests
mckm236975:stanbol ca3533$ 



As the message suggested to refer to " 
/Users/ca3533/Desktop/DATAMIProjectDev/stanbol/integration-tests/target/surefire-reports"
 for the individual test results, I found that the following files are the ones 
which contain the exceptions:

1) org.apache.stanbol.commons.httpqueryheaders.it.HttpQueryHeaderPostTest.txt
2)  org.apache.stanbol.commons.httpqueryheaders.it.HttpQueryHeaderGetTest.txt

I attached the above files just in case they can help to clarify/figure out the 
source of the error . 
-------------------------------------------------------------------------------
Test set: org.apache.stanbol.commons.httpqueryheaders.it.HttpQueryHeaderGetTest
-------------------------------------------------------------------------------
Tests run: 4, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 165.815 sec <<< 
FAILURE!
testGetAccept(org.apache.stanbol.commons.httpqueryheaders.it.HttpQueryHeaderGetTest)
  Time elapsed: 148.443 sec  <<< FAILURE!
java.lang.AssertionError: GET request to 
http://localhost:8765/entityhub/site/dbpedia/entity?id=http%3A%2F%2Fdbpedia.org%2Fresource%2FParis:
 expecting status 200 expected:<200> but was:<500>
        at org.junit.Assert.fail(Assert.java:91)
        at org.junit.Assert.failNotEquals(Assert.java:645)
        at org.junit.Assert.assertEquals(Assert.java:126)
        at org.junit.Assert.assertEquals(Assert.java:470)
        at 
org.apache.stanbol.commons.testing.http.RequestExecutor.assertStatus(RequestExecutor.java:150)
        at 
org.apache.stanbol.commons.httpqueryheaders.it.HttpQueryHeaderGetTest.testGetAccept(HttpQueryHeaderGetTest.java:60)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
        at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
        at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
        at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
        at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
        at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
        at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
        at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
        at 
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
        at 
org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
        at 
org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175)
        at 
org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107)
        at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68)
testSetAccept(org.apache.stanbol.commons.httpqueryheaders.it.HttpQueryHeaderGetTest)
  Time elapsed: 5.529 sec  <<< FAILURE!
java.lang.AssertionError: GET request to 
http://localhost:8765/entityhub/site/dbpedia/entity?id=http%3A%2F%2Fdbpedia.org%2Fresource%2FParis&header_Accept=text%2Frdf%2Bnt:
 expecting status 200 expected:<200> but was:<500>
        at org.junit.Assert.fail(Assert.java:91)
        at org.junit.Assert.failNotEquals(Assert.java:645)
        at org.junit.Assert.assertEquals(Assert.java:126)
        at org.junit.Assert.assertEquals(Assert.java:470)
        at 
org.apache.stanbol.commons.testing.http.RequestExecutor.assertStatus(RequestExecutor.java:150)
        at 
org.apache.stanbol.commons.httpqueryheaders.it.HttpQueryHeaderGetTest.testSetAccept(HttpQueryHeaderGetTest.java:81)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
        at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
        at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
        at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
        at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
        at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
        at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
        at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
        at 
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
        at 
org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
        at 
org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175)
        at 
org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107)
        at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68)
testOverrideAccept(org.apache.stanbol.commons.httpqueryheaders.it.HttpQueryHeaderGetTest)
  Time elapsed: 5.951 sec  <<< FAILURE!
java.lang.AssertionError: GET request to 
http://localhost:8765/entityhub/site/dbpedia/entity?id=http%3A%2F%2Fdbpedia.org%2Fresource%2FParis&header_Accept=text%2Frdf%2Bnt:
 expecting status 200 expected:<200> but was:<500>
        at org.junit.Assert.fail(Assert.java:91)
        at org.junit.Assert.failNotEquals(Assert.java:645)
        at org.junit.Assert.assertEquals(Assert.java:126)
        at org.junit.Assert.assertEquals(Assert.java:470)
        at 
org.apache.stanbol.commons.testing.http.RequestExecutor.assertStatus(RequestExecutor.java:150)
        at 
org.apache.stanbol.commons.httpqueryheaders.it.HttpQueryHeaderGetTest.testOverrideAccept(HttpQueryHeaderGetTest.java:97)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
        at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
        at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
        at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
        at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
        at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
        at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
        at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
        at 
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
        at 
org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
        at 
org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175)
        at 
org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107)
        at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68)
testRemovalOfAccept(org.apache.stanbol.commons.httpqueryheaders.it.HttpQueryHeaderGetTest)
  Time elapsed: 5.781 sec  <<< FAILURE!
java.lang.AssertionError: GET request to 
http://localhost:8765/entityhub/site/dbpedia/entity?id=http%3A%2F%2Fdbpedia.org%2Fresource%2FParis&header_Accept=:
 expecting status 200 expected:<200> but was:<500>
        at org.junit.Assert.fail(Assert.java:91)
        at org.junit.Assert.failNotEquals(Assert.java:645)
        at org.junit.Assert.assertEquals(Assert.java:126)
        at org.junit.Assert.assertEquals(Assert.java:470)
        at 
org.apache.stanbol.commons.testing.http.RequestExecutor.assertStatus(RequestExecutor.java:150)
        at 
org.apache.stanbol.commons.httpqueryheaders.it.HttpQueryHeaderGetTest.testRemovalOfAccept(HttpQueryHeaderGetTest.java:114)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
        at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
        at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
        at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
        at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
        at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
        at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
        at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
        at 
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
        at 
org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
        at 
org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175)
        at 
org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107)
        at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68)
-------------------------------------------------------------------------------
Test set: org.apache.stanbol.commons.httpqueryheaders.it.HttpQueryHeaderPostTest
-------------------------------------------------------------------------------
Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 52.818 sec <<< 
FAILURE!
testRemoveAccept(org.apache.stanbol.commons.httpqueryheaders.it.HttpQueryHeaderPostTest)
  Time elapsed: 7.674 sec  <<< FAILURE!
java.lang.AssertionError: POST request to 
http://localhost:8765/enhancer?header_Accept=: no match for regexp 
'"entity-reference": "http://dbpedia.org/resource/London";,', content=
{
  "@context": {
    "confidence": "http://fise.iks-project.eu/ontology/confidence";,
    "created": "http://purl.org/dc/terms/created";,
    "creator": "http://purl.org/dc/terms/creator";,
    "end": "http://fise.iks-project.eu/ontology/end";,
    "Enhancement": "http://fise.iks-project.eu/ontology/Enhancement";,
    "extracted-from": "http://fise.iks-project.eu/ontology/extracted-from";,
    "language": "http://purl.org/dc/terms/language";,
    "Person": "http://dbpedia.org/ontology/Person";,
    "Place": "http://dbpedia.org/ontology/Place";,
    "selected-text": "http://fise.iks-project.eu/ontology/selected-text";,
    "selection-context": 
"http://fise.iks-project.eu/ontology/selection-context";,
    "start": "http://fise.iks-project.eu/ontology/start";,
    "TextAnnotation": "http://fise.iks-project.eu/ontology/TextAnnotation";,
    "type": "http://purl.org/dc/terms/type";,
    "xsd": "http://www.w3.org/2001/XMLSchema#";,
    "@coerce": {
      "@iri": [
        "extracted-from",
        "type"
      ],
      "xsd:dateTime": "created",
      "xsd:double": "confidence",
      "xsd:int": [
        "end",
        "start"
      ],
      "xsd:string": [
        "selected-text",
        "selection-context",
        "creator"
      ]
    }
  },
  "@subject": [
    {
      "@subject": "urn:enhancement-2328d378-6b43-6b14-b872-965dcd351779",
      "@type": [
        "Enhancement",
        "TextAnnotation"
      ],
      "confidence": 0.83985525,
      "created": "2012-02-05T12:18:43.852Z",
      "creator": 
"org.apache.stanbol.enhancer.engines.opennlp.impl.NEREngineCore",
      "end": 10,
      "extracted-from": 
"urn:content-item-sha1-b4e0b81841efa29d065a0833dc92410732102af7",
      "selected-text": "John Smith",
      "selection-context": "John Smith was born in London. But since ten years 
he lives now in Paris.",
      "start": 0,
      "type": "Person"
    },
    {
      "@subject": "urn:enhancement-5eb734f6-97e1-befa-482a-7bcba1e63ef5",
      "@type": [
        "Enhancement",
        "TextAnnotation"
      ],
      "confidence": 0.979211,
      "created": "2012-02-05T12:18:44.130Z",
      "creator": 
"org.apache.stanbol.enhancer.engines.opennlp.impl.NEREngineCore",
      "end": 72,
      "extracted-from": 
"urn:content-item-sha1-b4e0b81841efa29d065a0833dc92410732102af7",
      "selected-text": "Paris",
      "selection-context": "John Smith was born in London. But since ten years 
he lives now in Paris.",
      "start": 67,
      "type": "Place"
    },
    {
      "@subject": "urn:enhancement-b78c73fa-2f15-e27d-05b8-df6506e21969",
      "@type": [
        "Enhancement",
        "TextAnnotation"
      ],
      "confidence": 0.997373,
      "created": "2012-02-05T12:18:44.130Z",
      "creator": 
"org.apache.stanbol.enhancer.engines.opennlp.impl.NEREngineCore",
      "end": 29,
      "extracted-from": 
"urn:content-item-sha1-b4e0b81841efa29d065a0833dc92410732102af7",
      "selected-text": "London",
      "selection-context": "John Smith was born in London. But since ten years 
he lives now in Paris.",
      "start": 23,
      "type": "Place"
    },
    {
      "@subject": "urn:enhancement-ea7d2739-e1a2-562c-dcb0-e5a7a94ed15c",
      "@type": [
        "Enhancement",
        "TextAnnotation"
      ],
      "created": "2012-02-05T12:18:43.208Z",
      "creator": 
"org.apache.stanbol.enhancer.engines.langid.LangIdEnhancementEngine",
      "extracted-from": 
"urn:content-item-sha1-b4e0b81841efa29d065a0833dc92410732102af7",
      "language": "en"
    }
  ]
}
        at org.junit.Assert.fail(Assert.java:91)
        at 
org.apache.stanbol.commons.testing.http.RequestExecutor.assertContentRegexp(RequestExecutor.java:234)
        at 
org.apache.stanbol.commons.testing.http.RequestExecutor.assertContentRegexp(RequestExecutor.java:208)
        at 
org.apache.stanbol.commons.httpqueryheaders.it.HttpQueryHeaderPostTest.testRemoveAccept(HttpQueryHeaderPostTest.java:61)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
        at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
        at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
        at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
        at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
        at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
        at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
        at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
        at 
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
        at 
org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
        at 
org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175)
        at 
org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107)
        at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68)

Any idea/help/?

Many Thanks in advance, 

Best, 
Carlo



On 5 Feb 2012, at 07:37, Rupert Westenthaler wrote:

> Hi Carlo ,all
> 
> 
> On Sat, Feb 4, 2012 at 10:43 PM, Carlo Allocca <[email protected]> wrote:
>> Hi Rupert,
>> 
>> I have just found that related to the [FATAL]
>> 
>> [FATAL] Non-resolvable parent POM for 
>> org.apache.stanbol:stanbol-parent:0.9.0-incubating-SNAPSHOT: Could not 
>> transfer artifact org.apache:apache:pom:9 from/to apache 
>> (http://repository.apache.org/snapshots/): Error transferring file: 
>> Connection refused and 'parent.relativePath' points at no local POM @ 
>> org.apache.stanbol:stanbol-parent:0.9.0-incubating-SNAPSHOT, 
>> /Users/ca3533/Desktop/DATAMIProjectDev/stanbol/parent/pom.xml, line 15, 
>> column 11
>> 
>>  there is something which may be not correct and it can also be the source 
>> of the error:
>> I opened the file  
>> /Users/ca3533/Desktop/DATAMIProjectDev/stanbol/parent/pom.xml and the 
>> parent.relativePath is empty.
>> 
>>  <parent>
>>    <groupId>org.apache</groupId>
>>    <artifactId>apache</artifactId>
>>    <version>9</version>
>>    <relativePath> </relativePath>
>>  </parent>
>> 
> 
> The empty relativePath is intended, because this POM file MUST BE
> downloaded from a remote maven server.
> 
> Based on the debug level log provided by your previous logs it should
> be downloaded from
> 
> 
>> Downloading: http://repo1.maven.org/maven2/org/apache/apache/9/apache-9.pom
>> [DEBUG] Reading resolution tracking file 
>> /Users/ca3533/.m2/repository/org/apache/apache/9/apache-9.pom.lastUpdated
>> [DEBUG] Writing resolution tracking file 
>> /Users/ca3533/.m2/repository/org/apache/apache/9/apache-9.pom.lastUpdated
> 
> but this does - for some reason i do not know -  not work on your machine.
> 
> Note that the Error:
> 
>> [FATAL] Non-resolvable parent POM for 
>> org.apache.stanbol:stanbol-parent:0.9.0-incubating-SNAPSHOT: Could not 
>> transfer artifact org.apache:apache:pom:9 from/to apache 
>> (http://repository.apache.org/snapshots/): Error transferring file: 
>> Connection refused and 'parent.relativePath' points at no local POM @ 
>> org.apache.stanbol:stanbol-parent:0.9.0-incubating-SNAPSHOT, 
>> /Users/ca3533/Desktop/DATAMIProjectDev/stanbol/parent/pom.xml, line 15, 
>> column 11
> 
> This basically says that the POM could not be downloaded form the
> http://repository.apache.org/snapshots/ - what is true, because this
> Repository does not contain org.apache:apache:9. However I think this
> execution is only printed because this repository happens to be the
> first in the list and the Artifact could not be found on any of the
> listed Repositories. This is also supported by the DEBUG level
> loggings that clearly show that all repositories are queried for the
> the mentioned artifact.
> 
> Based on this observation I think the problem we need to solve is to
> force Maven to download "org.apache:apache:9" form
> "http://repo1.maven.org/maven2/";.
> 
> The following things might help with that
> 
> 1) you can try to call "mvn -U clean" and than try to "mvn install" again.
> 
> This might help because
> 
> -U,--update-snapshots       Forces a check for updated
>                                       releases and snapshots on remote
> 
> 2) you can try to manually delete the folder
> "/Users/ca3533/.m2/repository/org/apache/apache/9/" in your local
> cache
> 
> the .m2 folder contains you local cache. If you delete this cache (or
> part of it) maven will download all missing artifacts on the next run.
> This can solve problems like that in case the cache somehow contain
> corrupted data.
> 
> I hope this helps
> best
> Rupert
> 
> 
> 
> -- 
> | Rupert Westenthaler             [email protected]
> | Bodenlehenstraße 11                             ++43-699-11108907
> | A-5500 Bischofshofen


-- 
The Open University is incorporated by Royal Charter (RC 000391), an exempt 
charity in England & Wales and a charity registered in Scotland (SC 038302).

Reply via email to