Installation – Aspose.HTML for Java
Installing Aspose.HTML for Java from Aspose Repository
Aspose hosts all Java APIs on its official Aspose Repository, making it easy to integrate the library into your Maven or Gradle projects with simple configurations. This streamlined approach allows developers to quickly access and incorporate the latest features and updates into their applications.
The most recent version of Aspose.HTML for Java can be found at the following link: Aspose.HTML for Java 24.12.1
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 completing these steps, the Aspose.HTML for Java library will be successfully configured in your Maven project. You can now begin using its powerful features for HTML manipulation, conversion, and processing.
Additional Notes
- Ensure you are using a compatible version of the JDK (e.g., JDK 1.6 or higher).
- Regularly check the Aspose.HTML for Java Repository for updates to stay current with new features and bug fixes.
- For detailed usage examples and additional configuration options, refer to the official Aspose.HTML for Java documentation.