|
@@ -0,0 +1,238 @@
|
|
|
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
+ <modelVersion>4.0.0</modelVersion>
|
|
|
+
|
|
|
+ <groupId>com.aliyun.oss</groupId>
|
|
|
+ <artifactId>aliyun-sdk-oss</artifactId>
|
|
|
+ <version>3.8.0</version>
|
|
|
+ <packaging>jar</packaging>
|
|
|
+ <name>Aliyun OSS SDK for Java</name>
|
|
|
+ <description>The Aliyun OSS SDK for Java used for accessing Aliyun Object Storage Service</description>
|
|
|
+ <url>http://www.aliyun.com/product/oss</url>
|
|
|
+
|
|
|
+ <dependencies>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.httpcomponents</groupId>
|
|
|
+ <artifactId>httpclient</artifactId>
|
|
|
+ <version>4.4.1</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.jdom</groupId>
|
|
|
+ <artifactId>jdom</artifactId>
|
|
|
+ <version>1.1</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.codehaus.jettison</groupId>
|
|
|
+ <artifactId>jettison</artifactId>
|
|
|
+ <version>1.1</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.aliyun</groupId>
|
|
|
+ <artifactId>aliyun-java-sdk-core</artifactId>
|
|
|
+ <version>3.4.0</version>
|
|
|
+ <exclusions>
|
|
|
+ <exclusion>
|
|
|
+ <groupId>org.json</groupId>
|
|
|
+ <artifactId>json</artifactId>
|
|
|
+ </exclusion>
|
|
|
+ </exclusions>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.aliyun</groupId>
|
|
|
+ <artifactId>aliyun-java-sdk-ram</artifactId>
|
|
|
+ <version>3.0.0</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.aliyun</groupId>
|
|
|
+ <artifactId>aliyun-java-sdk-sts</artifactId>
|
|
|
+ <version>3.0.0</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.aliyun</groupId>
|
|
|
+ <artifactId>aliyun-java-sdk-ecs</artifactId>
|
|
|
+ <version>4.2.0</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>junit</groupId>
|
|
|
+ <artifactId>junit</artifactId>
|
|
|
+ <version>4.10</version>
|
|
|
+ <scope>test</scope>
|
|
|
+ </dependency>
|
|
|
+ </dependencies>
|
|
|
+
|
|
|
+ <reporting>
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.codehaus.mojo</groupId>
|
|
|
+ <artifactId>cobertura-maven-plugin</artifactId>
|
|
|
+ <version>2.7</version>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
+ </reporting>
|
|
|
+
|
|
|
+ <build>
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <artifactId>maven-compiler-plugin</artifactId>
|
|
|
+ <version>2.3.2</version>
|
|
|
+ <configuration>
|
|
|
+ <source>1.6</source>
|
|
|
+ <target>1.6</target>
|
|
|
+ <encoding>UTF-8</encoding>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-jar-plugin</artifactId>
|
|
|
+ <version>2.3.2</version>
|
|
|
+ <configuration>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-surefire-plugin</artifactId>
|
|
|
+ <version>2.10</version>
|
|
|
+ <configuration>
|
|
|
+ <argLine>-Dfile.encoding=UTF-8</argLine>
|
|
|
+ </configuration>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <id>run-test</id>
|
|
|
+ <phase>test</phase>
|
|
|
+ <goals>
|
|
|
+ <goal>test</goal>
|
|
|
+ </goals>
|
|
|
+ <configuration>
|
|
|
+ <excludes>
|
|
|
+ <exclude>**/integration/*.java</exclude>
|
|
|
+ </excludes>
|
|
|
+ </configuration>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <artifactId>maven-failsafe-plugin</artifactId>
|
|
|
+ <version>2.6</version>
|
|
|
+ <configuration>
|
|
|
+ <argLine>-Dfile.encoding=UTF-8</argLine>
|
|
|
+ </configuration>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <goals>
|
|
|
+ <goal>integration-test</goal>
|
|
|
+ <goal>verify</goal>
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-javadoc-plugin</artifactId>
|
|
|
+ <version>2.8</version>
|
|
|
+ <configuration>
|
|
|
+ <encoding>UTF-8</encoding>
|
|
|
+ <excludePackageNames>com.aliyun.oss.common.*;*.internal;*.internal.*;*.impl;</excludePackageNames>
|
|
|
+ <tags>
|
|
|
+ <tag>
|
|
|
+ <name>author</name>
|
|
|
+ <placement>X</placement>
|
|
|
+ </tag>
|
|
|
+ </tags>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-gpg-plugin</artifactId>
|
|
|
+ <version>1.5</version>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <id>sign-artifacts</id>
|
|
|
+ <phase>verify</phase>
|
|
|
+ <goals>
|
|
|
+ <goal>sign</goal>
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.sonatype.plugins</groupId>
|
|
|
+ <artifactId>nexus-staging-maven-plugin</artifactId>
|
|
|
+ <version>1.6.3</version>
|
|
|
+ <extensions>true</extensions>
|
|
|
+ <configuration>
|
|
|
+ <serverId>sonatype-nexus-staging</serverId>
|
|
|
+ <nexusUrl>https://oss.sonatype.org/</nexusUrl>
|
|
|
+ <autoReleaseAfterClose>true</autoReleaseAfterClose>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-javadoc-plugin</artifactId>
|
|
|
+ <version>2.8</version>
|
|
|
+ <configuration>
|
|
|
+ <encoding>UTF-8</encoding>
|
|
|
+ <excludePackageNames>com.aliyun.common.*;*.internal;*.internal.*;*.impl;</excludePackageNames>
|
|
|
+ <tags>
|
|
|
+ <tag>
|
|
|
+ <name>author</name>
|
|
|
+ <placement>X</placement>
|
|
|
+ </tag>
|
|
|
+ </tags>
|
|
|
+ </configuration>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <phase>package</phase>
|
|
|
+ <goals>
|
|
|
+ <goal>jar</goal>
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-source-plugin</artifactId>
|
|
|
+ <version>2.3</version>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <id>attach-sources</id>
|
|
|
+ <goals>
|
|
|
+ <goal>jar-no-fork</goal>
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
+ </build>
|
|
|
+
|
|
|
+ <licenses>
|
|
|
+ <license>
|
|
|
+ <name></name>
|
|
|
+ <url></url>
|
|
|
+ <distribution></distribution>
|
|
|
+ </license>
|
|
|
+ </licenses>
|
|
|
+ <scm>
|
|
|
+ <url></url>
|
|
|
+ <connection></connection>
|
|
|
+ </scm>
|
|
|
+ <developers>
|
|
|
+ <developer>
|
|
|
+ <id>aliyunproducts</id>
|
|
|
+ <name>Aliyun SDK</name>
|
|
|
+ <email>aliyunsdk@aliyun.com</email>
|
|
|
+ </developer>
|
|
|
+ </developers>
|
|
|
+
|
|
|
+ <distributionManagement>
|
|
|
+ <snapshotRepository>
|
|
|
+ <id>sonatype-nexus-snapshots</id>
|
|
|
+ <url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
|
|
+ </snapshotRepository>
|
|
|
+ <repository>
|
|
|
+ <id>sonatype-nexus-staging</id>
|
|
|
+ <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
|
|
|
+ </repository>
|
|
|
+ </distributionManagement>
|
|
|
+</project>
|