This topic describes how to install the Server Migration Center (SMC) SDK for Java.

Prepare the environment

Install JDK 1.6 or later before you install the SMC SDK for Java.

Install the SMC SDK for Java

To use the SMC SDK for Java in Maven, you only need to add the corresponding dependencies to the pom.xml file. Add the following content to <dependencies>:

<dependency>
    <groupId>com.aliyun</groupId>
    <artifactId>aliyun-java-sdk-core</artifactId>
    <optional>true</optional>
    <version>4.3.2</version>
</dependency>
<dependency>
    <groupId>com.aliyun</groupId>
    <artifactId>aliyun-java-sdk-smc</artifactId>
    <version>1.0.1</version>
</dependency>