Skip to content

Commit c0a8240

Browse files
committed
version
1 parent 08a32d5 commit c0a8240

File tree

3 files changed

+95
-40
lines changed

3 files changed

+95
-40
lines changed

pom.xml

Lines changed: 92 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
33
<modelVersion>4.0.0</modelVersion>
4-
<!--
5-
<parent>
6-
<groupId>com.aliyun</groupId>
7-
<artifactId>parent-pom</artifactId>
8-
<version>1.0.2</version>
9-
</parent>
10-
-->
114

125
<groupId>com.aliyun.oss</groupId>
136
<artifactId>aliyun-sdk-oss</artifactId>
14-
<version>3.15.2</version>
7+
<version>3.16.0</version>
158
<packaging>jar</packaging>
169
<name>Aliyun OSS SDK for Java</name>
1710
<description>The Aliyun OSS SDK for Java used for accessing Aliyun Object Storage Service</description>
@@ -54,11 +47,6 @@
5447
<artifactId>aliyun-java-sdk-kms</artifactId>
5548
<version>2.11.0</version>
5649
</dependency>
57-
<dependency>
58-
<groupId>org.bouncycastle</groupId>
59-
<artifactId>bcprov-jdk15on</artifactId>
60-
<version>1.67</version>
61-
</dependency>
6250
<dependency>
6351
<groupId>junit</groupId>
6452
<artifactId>junit</artifactId>
@@ -69,13 +57,13 @@
6957

7058
<reporting>
7159
<plugins>
72-
<plugin>
60+
<plugin>
7361
<groupId>org.codehaus.mojo</groupId>
7462
<artifactId>cobertura-maven-plugin</artifactId>
7563
<version>2.7</version>
76-
</plugin>
64+
</plugin>
7765
</plugins>
78-
</reporting>
66+
</reporting>
7967

8068
<build>
8169
<plugins>
@@ -106,6 +94,9 @@
10694
<execution>
10795
<id>run-test</id>
10896
<phase>test</phase>
97+
<goals>
98+
<goal>test</goal>
99+
</goals>
109100
<configuration>
110101
<excludes>
111102
<exclude>**/integration/*.java</exclude>
@@ -144,35 +135,99 @@
144135
</tags>
145136
</configuration>
146137
</plugin>
138+
147139
<plugin>
148-
<groupId>org.codehaus.mojo</groupId>
149-
<artifactId>cobertura-maven-plugin</artifactId>
150-
<version>2.7</version>
151-
<configuration>
152-
<format>xml</format>
153-
<format>html</format>
154-
<maxmem>256m</maxmem>
155-
<!-- aggregated reports for multi-module projects -->
156-
<aggregate>true</aggregate>
157-
<check/>
158-
</configuration>
140+
<groupId>org.apache.maven.plugins</groupId>
141+
<artifactId>maven-gpg-plugin</artifactId>
142+
<version>1.5</version>
143+
<executions>
144+
<execution>
145+
<id>sign-artifacts</id>
146+
<phase>verify</phase>
147+
<goals>
148+
<goal>sign</goal>
149+
</goals>
150+
</execution>
151+
</executions>
159152
</plugin>
160153
<plugin>
161-
<groupId>org.eluder.coveralls</groupId>
162-
<artifactId>coveralls-maven-plugin</artifactId>
163-
<version>4.2.0</version>
154+
<groupId>org.sonatype.plugins</groupId>
155+
<artifactId>nexus-staging-maven-plugin</artifactId>
156+
<version>1.6.3</version>
157+
<extensions>true</extensions>
164158
<configuration>
165-
<sourceEncoding>UTF-8</sourceEncoding>
159+
<serverId>sonatype-nexus-staging</serverId>
160+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
161+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
166162
</configuration>
167163
</plugin>
164+
168165
<plugin>
169-
<groupId>org.eluder.coveralls</groupId>
170-
<artifactId>coveralls-maven-plugin</artifactId>
171-
<version>3.2.1</version>
166+
<groupId>org.apache.maven.plugins</groupId>
167+
<artifactId>maven-javadoc-plugin</artifactId>
168+
<version>2.8</version>
172169
<configuration>
173-
<sourceEncoding>UTF-8</sourceEncoding>
170+
<encoding>UTF-8</encoding>
171+
<excludePackageNames>com.aliyun.common.*;*.internal;*.internal.*;*.impl;</excludePackageNames>
172+
<tags>
173+
<tag>
174+
<name>author</name>
175+
<placement>X</placement>
176+
</tag>
177+
</tags>
174178
</configuration>
179+
<executions>
180+
<execution>
181+
<phase>package</phase>
182+
<goals>
183+
<goal>jar</goal>
184+
</goals>
185+
</execution>
186+
</executions>
187+
</plugin>
188+
<plugin>
189+
<groupId>org.apache.maven.plugins</groupId>
190+
<artifactId>maven-source-plugin</artifactId>
191+
<version>2.3</version>
192+
<executions>
193+
<execution>
194+
<id>attach-sources</id>
195+
<goals>
196+
<goal>jar-no-fork</goal>
197+
</goals>
198+
</execution>
199+
</executions>
175200
</plugin>
176201
</plugins>
177202
</build>
178-
</project>
203+
204+
<licenses>
205+
<license>
206+
<name>The Apache License, Version 2.0</name>
207+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
208+
<distribution></distribution>
209+
</license>
210+
</licenses>
211+
<scm>
212+
<url></url>
213+
<connection></connection>
214+
</scm>
215+
<developers>
216+
<developer>
217+
<id>aliyunproducts</id>
218+
<name>Aliyun SDK</name>
219+
<email>aliyunsdk@aliyun.com</email>
220+
</developer>
221+
</developers>
222+
223+
<distributionManagement>
224+
<snapshotRepository>
225+
<id>sonatype-nexus-snapshots</id>
226+
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
227+
</snapshotRepository>
228+
<repository>
229+
<id>sonatype-nexus-staging</id>
230+
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
231+
</repository>
232+
</distributionManagement>
233+
</project>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version=3.15.2
1+
version=3.16.0

src/test/java/com/aliyun/oss/common/utils/VersionUtilTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public class VersionUtilTest {
2828
@Test
2929
public void testGetDefaultUserAgent() {
3030
String userAgent = VersionInfoUtils.getDefaultUserAgent();
31-
assertTrue(userAgent.startsWith("aliyun-sdk-java/3.15.2("));
31+
assertTrue(userAgent.startsWith("aliyun-sdk-java/3.16.0("));
3232
assertEquals(userAgent.split("/").length, 4);
3333
assertEquals(userAgent.split(";").length, 2);
3434
assertEquals(userAgent.split("\\(").length, 2);
@@ -38,7 +38,7 @@ public void testGetDefaultUserAgent() {
3838
@Test
3939
public void testGetVersion() {
4040
String version = VersionInfoUtils.getVersion();
41-
assertEquals("3.15.2", version);
41+
assertEquals("3.16.0", version);
4242
}
4343
}
4444

0 commit comments

Comments
 (0)