Installation | Aspose.PUB for Java
Contents
[
Hide
Show
]Installing Aspose.PUB for Java from Aspose Repository
Aspose hosts all Java APIs on Aspose Repository. You can easily use Aspose.PUB for Java API directly in your Maven Projects with simple configurations.
Specify Aspose Repository Configuration
First you need to specify Aspose Repository configuration / location in your Maven pom.xml as follows:
1 <repositories>
2
3 <repository>
4
5 <id>snapshots</id>
6
7 <name>repo</name>
8
9 <url>https://releases.aspose.com/java/repo/</url>
10
11 </repository>
12
13</repositories>
Define Aspose.PUB for Java API Dependency
Then define Aspose.PUB for Java API dependency in your pom.xml as follows:
1 <dependencies>
2
3 <dependency>
4
5 <groupId>com.aspose</groupId>
6
7 <artifactId>aspose-pub</artifactId>
8
9 <version>20.8</version>
10
11 </dependency>
12
13</dependencies>
After performing above steps, Aspose.PUB for Java dependency will finally be defined in your Maven Project.