Spire.Cloud Web API provides a set of simple, efficient and unified interfaces for developers to manipulate Word, Excel, PDF and PowerPoint documents. This tutorial will introduce how to install all required Spire.cloud.sdk dependencies from Maven repository.
Firstly please specify e-iceblue Maven Repository configuration / location in your Maven pom.xml as below:
<repositories>
<repository>
<id>com.e-iceblue</id>
<name>cloud</name>
<url>http://repo.e-iceblue.com/nexus/content/groups/public/</url>
</repository>
</repositories>
Then define Spire.cloud.sdk dependencies in your pom.xml as follows:
<dependencies>
<dependency>
<groupId> cloud </groupId>
<artifactId>spire.cloud.sdk</artifactId>
<version>3.5.0</version>
</dependency>
<dependency>
<groupId> com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.8.1</version>
</dependency>
<dependency>
<groupId> com.squareup.okhttp</groupId>
<artifactId>logging-interceptor</artifactId>
<version>2.7.5</version>
</dependency>
<dependency>
<groupId> com.squareup.okhttp </groupId>
<artifactId>okhttp</artifactId>
<version>2.7.5</version>
</dependency>
<dependency>
<groupId> com.squareup.okio </groupId>
<artifactId>okio</artifactId>
<version>1.6.0</version>
</dependency>
<dependency>
<groupId> io.gsonfire</groupId>
<artifactId>gson-fire</artifactId>
<version>1.8.0</version>
</dependency>
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-annotations</artifactId>
<version>1.5.18</version>
</dependency>
<dependency>
<groupId> org.threeten </groupId>
<artifactId>threetenbp</artifactId>
<version>1.3.5</version>
</dependency>
</dependencies>
For IDEA, you only need to click "Import Changes" to import the jars.
For Eclipse, you only need to click the "Save" button, then the jars will be downloaded automatically.
Till now, you have successfully added the Spire.cloud.sdk dependencies in your Maven project.
Step details for IDEA
Step 1: Create a new Maven Project. File - New – Project
Step 2: Set the GroupId and ArtifactId for the project:
Step 3: Import all required dependencies in pom.xml and click the "Import Changes" button.
Step details for Eclipse
Step 1: Create a new Maven Project
Step 2: Set GroupId and ArtifactId for the project
Step 3: Import all required dependencies and click the "Save" button