Installation – Aspose.HTML for Java

Installing Aspose.HTML for Java from Aspose Repository

Aspose hosts all Java APIs on Aspose Repository. You can easily use Aspose.HTML for Java API directly in your Maven or Gradle Projects with simple configurations.

Link for current version: https://repository.aspose.com/webapp/#/artifacts/browse/tree/General/repo/com/aspose/aspose-html/20.9

Specify Aspose Repository Configuration

First you need to specify Aspose Repository configuration / location in your Maven pom.xml as follows:

1 <repositories>
2     <repository>
3         <id>snapshots</id>
4         <name>repo</name>
5         <url>http://repository.aspose.com/repo/</url>
6     </repository>
7</repositories>

for Gradle in you build.gradle script as follows:

1 repositories {
2     maven {
3         url = uri('https://repository.aspose.com/repo/')
4     }
5 }

Define Aspose.HTML for Java API Dependency

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

1 <dependencies>
2    <dependency>
3        <groupId>com.aspose</groupId>
4        <artifactId>aspose-html</artifactId>
5        <version>20.9.1</version>
6        <classifier>jdk16</classifier>
7    </dependency>
8</dependencies>

for Gradle in you build.gradle script as follows:

1compile(group: 'com.aspose', name: 'aspose-html', version: '20.9.1', classifier: 'jdk16')

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

Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.