Installation

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:

 <repositories>

     <repository>

         <id>snapshots</id>

         <name>repo</name>

         <url>http://repository.aspose.com/repo/</url>

     </repository>

</repositories>

Define Aspose.PUB for Java API Dependency

Then define Aspose.PUB for Java API dependency in your pom.xml as follows:

 <dependencies>

    <dependency>

        <groupId>com.aspose</groupId>

        <artifactId>aspose-pub</artifactId>

        <version>20.8</version>

    </dependency>

</dependencies>

After performing above steps, Aspose.PUB for Java dependency will finally be defined in your Maven Project.