Aspose Maven Dependencies
We are pleased to announce that Aspose has launched the Maven dependencies for its Java Platform APIs enabling customers to easily use Aspose powerful Java APIs directly in their Maven Projects with simple configurations.
Aspose Maven dependencies are supported by Aspose Cloud Maven Repository which is located at url:
Configuring Maven Project for Aspose Maven Dependencies
Below are the steps will lead you to the successful configuration of Aspose Cloud Maven Repository / Aspose Maven dependencies for your Maven Projects.
1. First of all you need to specify Aspose Cloud Maven Repository configuration / location in your Maven pom.xml as below
<repositories> <repository> <id>AsposeJavaAPI</id> <name>Aspose Java API</name> <url>http://repository.aspose.com/repo/</url> </repository> </repositories>
2. Define dependency of Aspose Java API. For example, if you are customer of Aspose.Words for Java API, you need to specify the following dependency to be included in your pom.xml:
<dependency> <groupId>com.aspose</groupId> <artifactId>aspose-words</artifactId> <version>19.12</version> </dependency>
Congratulations! You have successfully defined the Aspose Maven dependency for Aspose.Words Java API in your Maven project. Pretty Straighforward!
Now you can use your favorite Aspose Java APIs in your Maven Project easily.
Supported Product Line
The following Aspose Java APIs are now supported as Aspose Maven Dependencies.
Aspose.Cells for Java (Maven Dependency)
Aspose.Words for Java (Maven Dependency)
Aspose.Pdf for Java (Maven Dependency)
Aspose.Slides for Java (Maven Dependency)
Aspose.BarCode for Java (Maven Dependency)
Aspose.Tasks for Java (Maven Dependency)
Aspose.Email for Java (Maven Dependency)
Aspose.Diagram for Java (Maven Dependency)
Aspose.OCR for Java (Maven Dependency)
Aspose.Imaging for Java (Maven Dependency)
Use the <classifier></classifier> tag when defining dependencies wherever applicable.
<dependencies> <dependency> <groupId>com.aspose</groupId> <artifactId>aspose-words</artifactId> <version>19.12</version> <classifier>jdk17</classifier> </dependency> </dependencies>
Sample Maven project for Aspose Java APIs
Please check the following GitHub project with the required pom.xml configurations for setting up Aspose Cloud Maven Repository.
Aspose Java for Spring v1.1 – An Aspose extension of Spring’s PetClinic Sample Web Application project that demonstrates the Integration of various Aspose Java APIs (As Maven Dependencies) with Maven Project Model and Spring Framework, presented along with working APIs code examples and use cases within.