what are the coordinates of Berkeley DB JE 5.0.x in Maven Central?
-
30-05-2021 - |
Frage
What are the coordinates of Berkeley DB JE 5.0.x in Maven Central (or some other repo maybe)?
Lösung
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
Andere Tipps
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
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow