You are here: Platform Specific Issues > Maven

Maven

Currently db4o only provides snapshots of the current beta and production versions.

Repository

All db4o artifacts are in this repository:

<repositories>
   <repository>
        <id>db4o</id>
        <name>Db4o</name>
        <url>https://source.db4o.com/maven/</url>
   </repository>
</repositories>

Artifacts

The db4o Maven artifacts represent the different functionality of db4o. All different artifacts use the groudID 'com.db4o'.

You can either include the whole db4o distribution like this:

<dependency>
    <groupId>com.db4o</groupId>
    <artifactId>db4o-full-java5</artifactId>
    <version>8.0-SNAPSHOT</version>
</dependency>

Or include the different part of db4o as you need them. Available are 'db4o-core-java5', 'db4o-cs-java5', 'db4o-cs-optional-java5', 'db4o-nqopt-java5', 'db4o-taj-java5' and 'db4o-tools-java5'. Take a look at this overview for more details.

<!--For example: Include native
 queries optimization and optional featueres-->
<dependency>
<groupId>com.db4o</groupId>
<artifactId>db4o-nqopt-java5</artifactId>
<version>8.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.db4o</groupId>
<artifactId>db4o-optional-java5</artifactId>
<version>8.0-SNAPSHOT</version>
</dependency>