Skip to content
Chris Kroells edited this page Oct 18, 2020 · 4 revisions

Using Thumbnailator with Maven

The recommended way to get Thumbnailator is through the Maven Central Repository.

Simply add the following to the dependencies section of the pom.xml:

<dependency>
  <groupId>net.coobird</groupId>
  <artifactId>thumbnailator</artifactId>
  <version>[0.4, 0.5)</version>
</dependency>

The above dependency definition will fetch the newest available version of Thumbnailator in the 0.4.x version range.

If a specific version of Thumbnailator is required, replace [0.4, 0.5) with a specific version number, such as 0.4.3.

Snapshot releases

Snapshot artifacts can be obtained from the Sonatype's OSSRH by adding the repository shown below.

Note that snapshot releases are not necessarily stable nor free of known bugs, and may not be always available. SNAPSHOT versions will be removed once the corresponding release version is available.

<repositories>
  <repository>
    <id>ossrh</id>
    <url>https://oss.sonatype.org/content/repositories/snapshots</url>
    <snapshots>
      <enabled>true</enabled>
    </snapshots>
    <releases>
      <enabled>false</enabled>
    </releases>
  </repository>
</repositories>
Clone this wiki locally