When working with Java and Maven it is sometimes necessary to include SNAPSHOT libraries to your pom. Adding simply the repository id and the repository URL won’t work. Additionally you need to disable the „releases“ and enable the „snapshots“ like in the example beneath.

<repositories>
  <repository>
    <id>snapshots</id>
    <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
    <releases>
      <enabled>false</enabled>
    </releases>
    <snapshots>
      <enabled>true</enabled>
    </snapshots>
  </repository>
</repositories>

After that you will need Maven to update the indexes for the repositories.