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 >
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 >
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 >
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 >
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+ 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 >
0 commit comments