Spring Data Commons extension with custom repositories like ReadOnlyRepository.
Add the Maven dependency and the repository:
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-custom-repositories</artifactId>
<version>1.0.0-RELEASE</version>
</dependency>
<repository>
<id>github</id>
<name>GitHub vitorfec Apache Maven Packages</name>
<url>https://maven.pkg.github.com/vitorfec/spring-data-custom-repositories</url>
</repository>
You will need JDK 1.8 and Maven v3.5.0 or above.
$ mvn clean install