Question

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

Était-ce utile?

La 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

Autres conseils

See here http://www.oracle.com/technetwork/database/berkeleydb/downloads/maven-087630.html

so http://mvnrepository.com/artifact/com.sleepycat/je/4.0.92

Edit sorry wrong version I suggest

wget http://download.oracle.com/maven/com/sleepycat/je/5.0.34/je-5.0.34{.jar,.jar.md5,.jar.sha1,.pom,.pom.md5,.pom.sha1,-sources.jar,-sources.jar.md5,-sources.jar.sha1,-javadoc.jar,-javadoc.jar.md5,-javadoc.jar.sha1}

and upload to own repo

o

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top