GroupDocs hosts all Java APIs on GroupDocs Artifact Repository. You can easily use GroupDocs.Viewer for Java API directly in your Maven projects with simple configurations.

Specify GroupDocs Repository Configuration

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

		<name>GroupDocs Artifact Repository</name>

Define GroupDocs.Viewer for Java API Dependency

Then define GroupDocs.Viewer for Java API dependency in your pom.xml as follows:


After performing the above-mentioned steps, GroupDocs.Viewer for Java dependency will finally be added to your Maven project.

Install from official GroupDocs website

You can follow the steps below to reference GroupDocs.Viewer for Java downloaded from official website Downloads section:

  1. Unpack zip archive .
  2. Switch to lib folder.
  3. Run install.bat (for Windows) or (for Linux) file to install the library in your local maven repository.
  4. After this you should add the GroupDocs.Viewer for Java dependency block to your .pom.xml project file.