Installation

GroupDocs hosts all Java APIs on GroupDocs Repository. You use the GroupDocs.Annotation for Java API directly in your Maven projects with simple configurations.

Specify GroupDocs Repository Configuration

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

<repositories>
    <repository>
        <id>GroupDocs Artifact Repository</id>
        <name>GroupDocs Artifact Repository</name>
        <url>https://releases.groupdocs.com/java/repo/</url>
    </repository>
</repositories>

Define GroupDocs.Annotation for Java API Dependency

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

<dependencies>
    <dependency>
        <groupId>com.groupdocs</groupId>
        <artifactId>groupdocs-annotation</artifactId>
        <version>23.10</version> 
    </dependency>
</dependencies>