Aliyun OSS SDK for Java
The Aliyun OSS SDK for Java enables Java developers to easily work with Aliyun OSS. You can get started in minutes using Maven or by downloading a single zip file.
Requirements
- Java 1.6 or later
- Maven
Install
The recommended way to use the Aliyun OSS SDK for Java in your project is to consume it from Maven. Import as follows:
<dependency>
<groupId>com.aliyun.oss</groupId>
<artifactId>aliyun-sdk-oss</artifactId>
<version>2.8.3</version>
</dependency>
See the Setup section of the SDK Reference for more information about installing the SDK through other means.
Build
Once you check out the code from GitHub, you can build it using Maven. Use the following command to build:
mvn clean install -DskipTests