How to install Spire Series Products for Java from Maven Repository

Developers can easily use Spire Series Products for Java directly in their Maven Projects with simple configurations. E-iceblue hosts all Java APIs on Maven repository. Here we use Spire.PDF for Java as example to show you how to istall it from Maven.

Firstly please specify e-iceblue Maven Repository configuration / location in your Maven pom.xml as below:

<repositories>
        <repository>
            <id>com.e-iceblue</id>
            <name>e-iceblue</name>
            <url>http://repo.e-iceblue.com/nexus/content/groups/public/</url>
        </repository>
</repositories>

Then define Spire.PDF for Java API dependency in your pom.xml as follows:

<dependencies>
    <dependency>
        <groupId> e-iceblue </groupId>
        <artifactId>spire.pdf</artifactId>
        <version>2.2.0</version>
    </dependency>
</dependencies>

For IDEA, you only need to click “Import Changes” to import the Spire.PDF jars.

For Eclipse, you only need to click the “Save” button, then Spire.PDF jars will be downloaded automatically.

Now you have successfully defined the Spire.PDF for Java Maven dependency in your Maven project.

The correct name for Free Java products, use Free.Spire.PDF for example:

<dependencies>
    <dependency>
        <groupId>e-iceblue</groupId>
        <artifactId>spire.pdf.free</artifactId>
        <version>2.0.0</version>
    </dependency>
</dependencies>

Step details for IDEA

Create a new Maven Project: File - New - Project

How to install Spire.PDF for Java from Maven Repository

How to install Spire.PDF for Java from Maven Repository

Set the GroupId for the project:

How to install Spire.PDF for Java from Maven Repository

How to install Spire.PDF for Java from Maven Repository

Update the porm.xml and then Import Changes:

How to install Spire.PDF for Java from Maven Repository

How to install Spire.PDF for Java from Maven Repository

Step details for Eclipse

Create a new Maven Project:

How to install Spire.PDF for Java from Maven Repository

How to install Spire.PDF for Java from Maven Repository

Define the location and set the Group ID:

How to install Spire.PDF for Java from Maven Repository

How to install Spire.PDF for Java from Maven Repository

Update the porm.xml and then click Save button:

How to install Spire.PDF for Java from Maven Repository

How to install Spire.PDF for Java from Maven Repository

How to install Spire.PDF for Java from Maven Repository