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.
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>3.18.1</version>
</dependency>
See the Setup section of the SDK Reference for more information about installing the SDK through other means.
Once you check out the code from GitHub, you can build it using Maven. Use the following command to build:
mvn clean install -DskipTests