5

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

yegor256
  • 102,010
  • 123
  • 446
  • 597

2 Answers2

7

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

Community
  • 1
  • 1
Simon Hellinger
  • 1,309
  • 12
  • 19
  • this appears to be broken. that url gives a 404. – fedesilva Sep 05 '12 at 16:47
  • Pasting the link in the browser fails, but the repository works. Using the code in a Maven project downloads the dependencies just fine (as I just re-checked:-). – Simon Hellinger Sep 06 '12 at 13:41
  • 2
    According to a thread on the oracle forums, there is no browsing allowed of the repository. https://forums.oracle.com/forums/thread.jspa?messageID=10283105 – dcolish Jan 27 '13 at 20:50
1

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

Shaun Hare
  • 3,771
  • 2
  • 24
  • 36