Development Environment Installation and Configuration
Installation from GroupDocs Repository using Maven
GroupDocs hosts all Java APIs on GroupDocs Repository. You can easily use GroupDocs.Merger 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>GroupDocsJavaAPI</id>
<name>GroupDocs Java API</name>
<url>http://repository.groupdocs.com/repo/</url>
</repository>
</repositories>
Define GroupDocs.Merger for Java API Dependency
Then define GroupDocs.Merger for Java API dependency in your pom.xml
as follows:
<dependencies>
<dependency>
<groupId>com.groupdocs</groupId>
<artifactId>groupdocs-merger</artifactId>
<version>19.12</version>
</dependency>
</dependencies>
After performing above-mentioned steps, GroupDocs.Merger 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.Merger for Java downloaded from official website Downloads section:
- Unpack zip archive .
- Switch to lib folder.
- Run install.bat (for Windows) or install.sh (for Linux) file to install the library in your local maven repository.
- After this you should add the merger dependency block to your pom.xml project file.