Hi Peter
Peter Jungen wrote:
>> In the output of mvn dependency:tree do you see the following two lines?
>>
>> [INFO] +- org.apache.jena:jena-larq:jar:1.0.0-incubating:compile
>> [INFO] | \- org.apache.lucene:lucene-core:jar:3.5.0:compile
> Just the first line, lucene is still missing. The complete output of
> dependency:tree http://pastebin.com/nhGKyEdF
I do not know how this can happen... LARQ's pom.xml [1] has definitely
a dependency on Lucene 3.5.0:
<properties>
<ver.lucene>3.5.0</ver.lucene>
...
</properties>
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-core</artifactId>
<version>${ver.lucene}</version>
</dependency>
[1]
http://repo1.maven.org/maven2/org/apache/jena/jena-larq/1.0.0-incubating/jena-larq-1.0.0-incubating.pom
Perhaps, you could try to clean your local Maven repository for jena-larq
and see if that helps:
rm -rf ~/.m2/repository/org/apache/jena/jena-larq/
>> Another check, after you run:
>> mvn package
>> Please, double check if the Directory.class is in your Fuseki jar, running:
>> jar -ft target/jena-fuseki-0.2.2-incubating-SNAPSHOT-server.jar | grep
>> Directory
> Two results:
> org/apache/html/dom/HTMLDirectoryElementImpl.class
> org/w3c/dom/html/HTMLDirectoryElement.class
>> org/apache/lucene/store/Directory.class
> is not included.
Yep, this is consistent with the fact that Lucene somehow is not included
in the dependency, but it should since it's a transitive dependency included
as you depend on LARQ.
I am using Maven 3.0.4, which version of Maven are you using? (trying to think
what could go wrong on your side, but I am running out of ideas here).
Paolo
>
> Regards
> Peter