Bookkeeper is a RESTful service that is part of the DataONE Coordinating Node infrastructure. The Java classes in the Bookkeeper API implement the Bookkeeper API models. These classes are used in Bookkeeper itself, and other Java-based applications that interact with it.
You can use the Bookkeeper API classes by importing the generated jar file into your project. Clone the repository and use Maven to build and use the library:
git clone https://github.com/dataoneorg/bookkeeper-api
cd bookkeeper-api
mvn install
Released versions are also available in the DataONE Maven repository. Add it to your project POM file:
<repository>
<id>dataone.org</id>
<url>http://maven.dataone.org/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
and add a dependency:
<dependency>
<groupId>org.dataone</groupId>
<artifactId>bookkeeper-api</artifactId>
<version>1.0.0</version>
</dependency>