Skip to content

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:

  1. Download from Virtuoso current download page:
    1. Virtuoso RDF4J 2.x Provider JAR file
    2. Virtuoso JDBC 4 Driver JAR file
  2. 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.

Clone this wiki locally