Jackrabbit JCR Commons
Jackrabbit JCR Commons is a collection of general purpose classes for use with the JCR API. The project does not depend on a specific JCR implementation, however it is best tested with Jackrabbit.
Utility methods to open a repository, get and add nodes and properties, run a query, and create a string representation from a node.
The package Javadocs
This project is included in Jackrabbit standalone.
The Maven dependency is (replace the version number with the version of your choice):
<dependency> <groupId>org.apache.jackrabbit</groupId> <artifactId>jackrabbit-jcr-commons</artifactId> <version>2.3</version> </dependency>