|
51 | 51 | <id>ossrh</id>
|
52 | 52 | <url>https://aws.oss.sonatype.org/content/repositories/snapshots</url>
|
53 | 53 | </snapshotRepository>
|
54 |
| - <repository> |
55 |
| - <id>ossrh</id> |
56 |
| - <url>https://aws.oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
57 |
| - </repository> |
58 | 54 | </distributionManagement>
|
59 | 55 |
|
60 | 56 | <dependencies>
|
|
215 | 211 | </execution>
|
216 | 212 | </executions>
|
217 | 213 | </plugin>
|
218 |
| - <plugin> |
219 |
| - <groupId>org.apache.maven.plugins</groupId> |
220 |
| - <artifactId>maven-javadoc-plugin</artifactId> |
221 |
| - <version>2.9.1</version> |
222 |
| - <configuration> |
223 |
| - <additionalparam>-Xdoclint:none</additionalparam> |
224 |
| - <detectJavaApiLink>false</detectJavaApiLink> |
225 |
| - </configuration> |
226 |
| - <executions> |
227 |
| - <execution> |
228 |
| - <id>attach-javadocs</id> |
229 |
| - <goals> |
230 |
| - <goal>jar</goal> |
231 |
| - </goals> |
232 |
| - </execution> |
233 |
| - </executions> |
234 |
| - </plugin> |
235 | 214 | <plugin>
|
236 | 215 | <groupId>org.codehaus.mojo</groupId>
|
237 | 216 | <artifactId>cobertura-maven-plugin</artifactId>
|
|
244 | 223 | <check />
|
245 | 224 | </configuration>
|
246 | 225 | </plugin>
|
| 226 | + <plugin> |
| 227 | + <groupId>org.sonatype.plugins</groupId> |
| 228 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 229 | + <version>1.6.8</version> |
| 230 | + <extensions>true</extensions> |
| 231 | + <configuration> |
| 232 | + <serverId>sonatype-nexus-staging</serverId> |
| 233 | + <nexusUrl>https://aws.oss.sonatype.org</nexusUrl> |
| 234 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 235 | + </configuration> |
| 236 | + </plugin> |
247 | 237 | </plugins>
|
248 | 238 | </build>
|
249 | 239 |
|
250 | 240 | <profiles>
|
251 | 241 | <profile>
|
252 |
| - <id>release</id> |
| 242 | + <id>sign</id> |
253 | 243 | <build>
|
254 | 244 | <plugins>
|
255 | 245 | <plugin>
|
256 | 246 | <groupId>org.apache.maven.plugins</groupId>
|
257 |
| - <artifactId>maven-source-plugin</artifactId> |
258 |
| - <version>2.2.1</version> |
| 247 | + <artifactId>maven-gpg-plugin</artifactId> |
| 248 | + <version>1.6</version> |
259 | 249 | <executions>
|
260 | 250 | <execution>
|
261 |
| - <id>attach-sources</id> |
| 251 | + <id>sign-artifacts</id> |
| 252 | + <phase>verify</phase> |
262 | 253 | <goals>
|
263 |
| - <goal>jar-no-fork</goal> |
| 254 | + <goal>sign</goal> |
264 | 255 | </goals>
|
| 256 | + <configuration> |
| 257 | + <gpgArguments> |
| 258 | + <arg>--pinentry-mode</arg> |
| 259 | + <arg>loopback</arg> |
| 260 | + </gpgArguments> |
| 261 | + </configuration> |
265 | 262 | </execution>
|
266 | 263 | </executions>
|
267 | 264 | </plugin>
|
| 265 | + </plugins> |
| 266 | + </build> |
| 267 | + </profile> |
| 268 | + <profile> |
| 269 | + <id>build-extras</id> |
| 270 | + <activation> |
| 271 | + <activeByDefault>true</activeByDefault> |
| 272 | + </activation> |
| 273 | + <build> |
| 274 | + <plugins> |
268 | 275 | <plugin>
|
269 | 276 | <groupId>org.apache.maven.plugins</groupId>
|
270 |
| - <artifactId>maven-gpg-plugin</artifactId> |
271 |
| - <version>1.6</version> |
| 277 | + <artifactId>maven-source-plugin</artifactId> |
| 278 | + <version>2.4</version> |
272 | 279 | <executions>
|
273 | 280 | <execution>
|
274 |
| - <id>sign-artifacts</id> |
275 |
| - <phase>verify</phase> |
| 281 | + <id>attach-sources</id> |
276 | 282 | <goals>
|
277 |
| - <goal>sign</goal> |
| 283 | + <goal>jar-no-fork</goal> |
278 | 284 | </goals>
|
279 | 285 | </execution>
|
280 | 286 | </executions>
|
281 | 287 | </plugin>
|
282 | 288 | <plugin>
|
283 |
| - <groupId>org.sonatype.plugins</groupId> |
284 |
| - <artifactId>nexus-staging-maven-plugin</artifactId> |
285 |
| - <version>1.6.8</version> |
286 |
| - <extensions>true</extensions> |
| 289 | + <groupId>org.apache.maven.plugins</groupId> |
| 290 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 291 | + <version>2.10.3</version> |
287 | 292 | <configuration>
|
288 |
| - <serverId>sonatype-nexus-staging</serverId> |
289 |
| - <nexusUrl>https://aws.oss.sonatype.org</nexusUrl> |
290 |
| - <autoReleaseAfterClose>false</autoReleaseAfterClose> |
| 293 | + <additionalparam>-Xdoclint:none</additionalparam> |
| 294 | + <detectJavaApiLink>false</detectJavaApiLink> |
291 | 295 | </configuration>
|
| 296 | + <executions> |
| 297 | + <execution> |
| 298 | + <id>attach-javadocs</id> |
| 299 | + <goals> |
| 300 | + <goal>jar</goal> |
| 301 | + </goals> |
| 302 | + </execution> |
| 303 | + </executions> |
292 | 304 | </plugin>
|
293 | 305 | </plugins>
|
294 | 306 | </build>
|
|
0 commit comments