Using Maven artifacts¶

From GraphDB 7.1, we opened our Maven repository and it is now possible to download GraphDB Maven artifacts without credentials.

Note

You still need to get a license from our Sales team as the artifacts do not provide such.

Public Maven repository¶

The public Maven repository for the current Graphdb release is at http://maven.ontotext.com/service/rest/repository/browse/owlim-releases . To get started, add the following endpoint to your preferred build system.

repositories {
maven {
url "http://maven.ontotext.com/service/rest/repository/browse/owlim-releases"
}
}


For the Maven POM file:

<repositories>
<repository>
<id>ontotex-public</id>
<url>http://maven.ontotext.com/service/rest/repository/browse/owlim-releases</url>
</repository>
</repositories>


Distribution¶

To use the distribution for some automation or to run integration tests in embedded Tomcat, get the zip artifacts with the following snippet:

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.10</version>
<executions>
<execution>
<id>copy</id>
<phase>package</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>com.ontotext.graphdb</groupId>
<artifactId>graphdb-se</artifactId>
</dependency>


I want to proxy the repository in my nexus¶

We have verified that the following options worked as expected

note that this won’t give you the ability to browse and index/search our repository. This is a shortcoming of the fact that we achieve the authentication through a repository target at the moment.