I'm attempting to use NetworkedGraphs from https://launchpad.net/~networked-graphs I'm having a problem and I don't know much about maven so I don't know where to look. I've done this:

$ bzr checkout lp:networkedgraphs
$ cd networkedgraphs 
$ mvn clean install

And I get:

[INFO] Scanning for projects...
[INFO] Reactor build order: 
[INFO]   Sesame2 Extensions
[INFO]   Distributed SAIL
[INFO]   NetworkedGraphs
[INFO]   NG SAIL
[INFO] ------------------------------------------------------------------------
[INFO] Building Sesame2 Extensions
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing /home/bdc34/src/networkedGraphs/pom.xml to /home/bdc34/.m2/repository/de/uni_koblenz/isweb/sesame-extensions/SNAPSHOT/sesame-extensions-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] Building Distributed SAIL
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[WARNING] While downloading org.slf4j:jcl104-over-slf4j:1.5.4
  This artifact has been relocated to org.slf4j:jcl-over-slf4j:1.5.4.
  As it now supports JCL versions 1.0.4, 1.1 and 1.1.1, the jcl104-over-slf4j module has been renamed as jcl-over-slf4j.


[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 20 source files to /home/bdc34/src/networkedGraphs/DistributedSAIL/target/classes
[INFO] [resources:testResources {execution: default-testResources}]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /home/bdc34/src/networkedGraphs/DistributedSAIL/src/test/resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 7 source files to /home/bdc34/src/networkedGraphs/DistributedSAIL/target/test-classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

/home/bdc34/src/networkedGraphs/DistributedSAIL/src/test/java/de/uni_koblenz/isweb/distributedSAIL/Scale.java:[30,33] package org.openrdf.sail.nativerdf does not exist

/home/bdc34/src/networkedGraphs/DistributedSAIL/src/test/java/de/uni_koblenz/isweb/distributedSAIL/Scale.java:[39,44] cannot find symbol
symbol  : class NativeStore
location: class de.uni_koblenz.isweb.distributedSAIL.Scale


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5 seconds
[INFO] Finished at: Mon Mar 28 17:02:48 EDT 2011
[INFO] Final Memory: 26M/138M
[INFO] ------------------------------------------------------------------------

asked 28 Mar '11, 21:04

Brian's gravatar image

Brian
1313
accept rate: 0%


It looks like a missing dependency in the POM of the Distributed SAIL module. This is part of the Networked Graph project. Apparently, their test code uses a Sesame Native store, but the Maven artifact for that store is not included in the POM.

A fix would be to add the following dependency to the POM:

<dependency>
     <groupId>org.openrdf.sesame</groupId>
     <artifactId>sesame-sail-nativerdf</artifactId>
     <version>${sesame.version}</version>
     <scope>test</scope>
</dependency>

You should get in touch with the developers of the Networked Graph SAIL.

permanent link

answered 28 Mar '11, 21:50

Jeen%20Broekstra's gravatar image

Jeen Broekstra ♦
11.6k412
accept rate: 37%

Thanks, that worked. I'll try to get this back to the developers of this project.

(29 Mar '11, 13:14) Brian Brian's gravatar image

The test class causing the problem was a leftover, which should never have made its way to Launchpad. It has been removed.

permanent link

answered 29 Mar '11, 15:50

sschenk's gravatar image

sschenk
111
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×152
×6

question asked: 28 Mar '11, 21:04

question was seen: 2,974 times

last updated: 29 Mar '11, 15:50