Installation
Contents
[
Hide
]
Installing Aspose.Imaging for Java from Maven Repository
Aspose hosts all Java APIs on Maven repository. You can easily use Aspose.Imaging for Java API directly in your Maven Projects with simple configurations.
Specify Maven Repository Configuration
First you need to specify Aspose Maven Repository configuration / location in your Maven pom.xml as follows:
<repositories>
<repository>
<id>AsposeJavaAPI</id>
<name>Aspose Java API</name>
<url>https://repository.aspose.com/repo/</url>
</repository>
</repositories>
Define Aspose.Imaging for Java API Dependency
Then define Aspose.Imaging for Java API dependency in your pom.xml as follows:
<dependencies>
<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-imaging</artifactId>
<version>24.6</version>
<classifier>jdk16</classifier>
</dependency>
<!-- if you need a documentation, please add the following dependency. For example it could be useful for IDE. -->
<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-imaging</artifactId>
<version>24.6</version>
<classifier>javadoc</classifier>
</dependency>
</dependencies>
After performing above steps, Aspose.Imaging for Java dependency will finally be defined in your Maven Project.