-
Notifications
You must be signed in to change notification settings - Fork 5
Building scraper: Adding virtuoso to local maven repo
Ken McLeod edited this page Jun 6, 2019
·
2 revisions
The code is provided with maven to standardise the build process. Regrettably, Virtuoso do not publish their jars to Maven Central (or similar). Thus they need to be imported into your local maven repo. The steps for this are:
- Download from Virtuoso current download page:
- Virtuoso RDF4J 2.x Provider JAR file
- Virtuoso JDBC 4 Driver JAR file
- Load these JAR files into maven using the following commands:
mvn install:install-file -Dfile=<path-to-file> -DgroupId=com.openlinksw.vos -DartifactId=virt_rdf4j -Dversion=2.0.1 -Dpackaging=jar
mvn install:install-file -Dfile=<path-to-file> -DgroupId=com.openlinksw.vos -DartifactId=virtjdbc -Dversion=4.2.0 -Dpackaging=jar
The maven build should now complete as normal.