On 23/05/12 16:15, Mike Jones wrote:
On 23 May 2012, at 15:55, Benson Margulies wrote:
One of my collegues is puzzled as to the maven dependencies necessary
to use SDB. Is this on the website someplace?
I think I used the information from here:
http://jena.apache.org/download/maven.html
Since there isn't a release of SDB your colleague will need to setup the POM
with the details of the SNAPSHOT repository:
<repository>
<id>apache-repo-snapshots</id>
<url>https://repository.apache.org/content/repositories/snapshots/</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<dependency>
<groupId>org.apache.jena</groupId>
<artifactId>jena-sdb</artifactId>
<version>1.3.4-incubating-SNAPSHOT</version>
</dependency>
and now
<version>1.3.4-SNAPSHOT</version>
Maven should then pull in any needed dependencies from Jena. Your colleague
will then need to specify the necessary JDBC JARs for the database that is
going to used.
Well, that's how I've got it setup in my project :-)
Cheers
Mike