Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Fixing POM and README. Releasing as v1.2.4.
Browse files Browse the repository at this point in the history
  • Loading branch information
jesterpm committed Mar 3, 2015
1 parent 34ca422 commit aa05e06
Show file tree
Hide file tree
Showing 2 changed files with 98 additions and 23 deletions.
22 changes: 21 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,24 @@
CarbonadoSleepycatDB
=====================

CarbonadoSleepycatDB contains a repository supporting Sleepycat/Oracle, [Berkeley DB](http://www.oracle.com/database/berkeley-db/db/index.html). Berkeley DB code must be downloaded and installed separately.
CarbonadoSleepycatDB contains a repository supporting Sleepycat/Oracle,
[Berkeley DB][BDB-Homepage]. Berkeley DB code must be downloaded and installed separately.


Installing Berkeley DB
----------------------

1. Download and install [Berkeley DB][BDB-Download]. Note that this is different than
Berkeley DB Java Edition. You may also be able to install Berkeley DB through your
operating system's package manager. For example, on Ubuntu: `sudo apt-get install libdb-java-dev`.

2. Install db.jar into your local maven repository:

```
mvn install:install-file -Dfile=/path/to/db.jar -DgroupId=com.sleepycat \
-DartifactId=db -Dversion=5.1 \
-Dpackaging=jar
```

[BDB-Homepage]: http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/overview/index.html
[BDB-Download]: http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/downloads/index.html
99 changes: 77 additions & 22 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<artifactId>carbonado-sleepycat-db</artifactId>
<packaging>jar</packaging>
<name>CarbonadoSleepycatDB</name>
<version>1.2.3</version>
<version>1.2.4</version>
<description>
Support for Sleepycat DB Carbonado repository.
</description>
Expand Down Expand Up @@ -81,7 +81,7 @@
<dependency>
<groupId>com.amazon.carbonado</groupId>
<artifactId>carbonado</artifactId>
<version>1.2.3</version>
<version>[1.2.4,)</version>
</dependency>
<dependency>
<groupId>com.sleepycat</groupId>
Expand All @@ -105,26 +105,6 @@

<reporting>
<plugins>
<!--
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<aggregate>true</aggregate>
<links>
<link>http://java.sun.com/j2se/1.5.0/docs/api</link>
</links>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
<configuration>
<aggregate>true</aggregate>
</configuration>
</plugin>
-->

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
Expand All @@ -142,4 +122,79 @@
</plugin>
</plugins>
</reporting>

<profiles>
<profile>
<id>release</id>
<build>
<plugins>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>

<!-- We must generate a -javadoc JAR file to publish on Maven Central,
but this package has no public methods. Here's an empty jar. -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<id>empty-javadoc-jar</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>javadoc</classifier>
<classesDirectory>${basedir}/javadoc</classesDirectory>
</configuration>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<keyname>2753E2C6</keyname>
</configuration>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.3</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>

</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit aa05e06

Please sign in to comment.