All GroupDocs packages are hosted at GroupDocs Artifact Repository. You can download packages or reference GroupDocs.Total for Java API directly in your Maven project using following steps.
Tip
Download a sample Maven application that demonstrates using GroupDocs.Total for Java. You can run the application locally with mvn compile exec:java command.
Add GroupDocs Artifact Repository
Add GroupDocs Artifact Repository to your pom.xml file:
To get started, download the latest version of GroupDocs.Total for Java (JAR file) from GroupDocs Artifact Repository. Also, make sure you have Java installed.
Create application
Tip
You can download the sample application and proceed to building it.
To build Java application run the command below. This command compiles the application and creates App.class file in the current directory.
javac -d . -cp ".;./groupdocs-total.jar" App.java
javac -d . -cp ".:./groupdocs-total.jar" App.java
Run application
To run the application type the command below. As a result two HTML documents will be created in the current directory for the first two pages of the document.