|
16 | 16 | <packaging>pom</packaging>
|
17 | 17 |
|
18 | 18 | <prerequisites>
|
19 |
| - <maven>3.0.1</maven> |
| 19 | + <maven>3.0.4</maven> |
20 | 20 | </prerequisites>
|
21 | 21 |
|
22 |
| - <parent> |
23 |
| - <groupId>org.sonatype.oss</groupId> |
24 |
| - <artifactId>oss-parent</artifactId> |
25 |
| - <version>9</version> |
26 |
| - </parent> |
27 |
| - |
28 | 22 | <licenses>
|
29 | 23 | <license>
|
30 | 24 | <name>The Apache Software License, Version 2.0</name>
|
|
52 | 46 | <tag>HEAD</tag>
|
53 | 47 | </scm>
|
54 | 48 |
|
| 49 | + <distributionManagement> |
| 50 | + <snapshotRepository> |
| 51 | + <id>ossrh</id> |
| 52 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 53 | + </snapshotRepository> |
| 54 | + <repository> |
| 55 | + <id>ossrh</id> |
| 56 | + <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 57 | + </repository> |
| 58 | + </distributionManagement> |
| 59 | + |
55 | 60 | <properties>
|
56 | 61 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
57 | 62 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
128 | 133 | <plugin>
|
129 | 134 | <groupId>org.apache.maven.plugins</groupId>
|
130 | 135 | <artifactId>maven-resources-plugin</artifactId>
|
131 |
| - <version>3.0.1</version> |
| 136 | + <version>3.0.2</version> |
132 | 137 | </plugin>
|
133 | 138 | <plugin>
|
134 | 139 | <groupId>org.apache.maven.plugins</groupId>
|
|
175 | 180 | <artifactId>maven-dependency-plugin</artifactId>
|
176 | 181 | <version>2.10</version>
|
177 | 182 | </plugin>
|
178 |
| - <plugin> |
179 |
| - <groupId>org.apache.maven.plugins</groupId> |
180 |
| - <artifactId>maven-gpg-plugin</artifactId> |
181 |
| - <version>1.6</version> |
182 |
| - </plugin> |
183 | 183 | </plugins>
|
184 | 184 | </pluginManagement>
|
185 | 185 | <plugins>
|
|
441 | 441 | </plugins>
|
442 | 442 | </pluginManagement>
|
443 | 443 | <plugins>
|
| 444 | + <!-- Skipping tests when preparing a release --> |
| 445 | + <plugin> |
| 446 | + <groupId>org.apache.maven.plugins</groupId> |
| 447 | + <artifactId>maven-surefire-plugin</artifactId> |
| 448 | + <version>2.19.1</version> |
| 449 | + <configuration> |
| 450 | + <skipTests>true</skipTests> |
| 451 | + </configuration> |
| 452 | + </plugin> |
| 453 | + <plugin> |
| 454 | + <groupId>org.apache.maven.plugins</groupId> |
| 455 | + <artifactId>maven-source-plugin</artifactId> |
| 456 | + <version>3.0.1</version> |
| 457 | + <executions> |
| 458 | + <execution> |
| 459 | + <id>attach-sources</id> |
| 460 | + <phase>package</phase> |
| 461 | + <goals> |
| 462 | + <goal>jar-no-fork</goal> |
| 463 | + </goals> |
| 464 | + </execution> |
| 465 | + </executions> |
| 466 | + </plugin> |
| 467 | + <plugin> |
| 468 | + <groupId>org.apache.maven.plugins</groupId> |
| 469 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 470 | + <version>2.10.4</version> |
| 471 | + <executions> |
| 472 | + <execution> |
| 473 | + <id>attach-javadocs</id> |
| 474 | + <phase>package</phase> |
| 475 | + <goals> |
| 476 | + <goal>jar</goal> |
| 477 | + </goals> |
| 478 | + <configuration> |
| 479 | + <additionalparam>${javadoc.opts}</additionalparam> |
| 480 | + </configuration> |
| 481 | + </execution> |
| 482 | + </executions> |
| 483 | + </plugin> |
| 484 | + <plugin> |
| 485 | + <groupId>org.apache.maven.plugins</groupId> |
| 486 | + <artifactId>maven-gpg-plugin</artifactId> |
| 487 | + <version>1.6</version> |
| 488 | + <executions> |
| 489 | + <execution> |
| 490 | + <id>sign-artifacts</id> |
| 491 | + <phase>verify</phase> |
| 492 | + <goals> |
| 493 | + <goal>sign</goal> |
| 494 | + </goals> |
| 495 | + </execution> |
| 496 | + </executions> |
| 497 | + </plugin> |
| 498 | + <plugin> |
| 499 | + <groupId>org.sonatype.plugins</groupId> |
| 500 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 501 | + <version>1.6.7</version> |
| 502 | + <extensions>true</extensions> |
| 503 | + <configuration> |
| 504 | + <serverId>ossrh</serverId> |
| 505 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 506 | + <autoReleaseAfterClose>false</autoReleaseAfterClose> |
| 507 | + </configuration> |
| 508 | + </plugin> |
444 | 509 | <plugin>
|
445 | 510 | <groupId>org.apache.maven.plugins</groupId>
|
446 | 511 | <artifactId>maven-release-plugin</artifactId>
|
|
0 commit comments