Search code examples
javamavenberkeley-dbberkeley-db-je

what are the coordinates of Berkeley DB JE 5.0.x in Maven Central?


What are the coordinates of Berkeley DB JE 5.0.x in Maven Central (or some other repo maybe)?


Solution

  • The link given by Shaun Hare (Oracle's bdb download page) now holds an example Maven configuration accessing Oracle's Maven repo.

    Following that example I included the bdb je by adding Oracle's repository directly. If you're using a repository manager such as Nexus, you might include the repository there instead:

    <dependencies>
      <dependency>
        <groupId>com.sleepycat</groupId>
        <artifactId>je</artifactId>
        <version>5.0.58</version>
      </dependency>
    </dependencies>
    
    <repositories>
      <repository>
        <id>oracleReleases</id>
        <name>Oracle Released Java Packages</name>
        <url>http://download.oracle.com/maven</url>
        <releases>
          <enabled>true</enabled>
        </releases>
        <snapshots />
      </repository>
    </repositories>
    

    Edit: Repaired broken hyperlinks