|
1 | 1 | <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/maven-v4_0_0.xsd">
|
2 | 2 | <modelVersion>4.0.0</modelVersion>
|
3 |
| - <parent> |
4 |
| - <groupId>org.sonatype.oss</groupId> |
5 |
| - <artifactId>oss-parent</artifactId> |
6 |
| - <version>9</version> |
7 |
| - </parent> |
8 | 3 | <groupId>com.github.chewiebug</groupId>
|
9 | 4 | <artifactId>gcviewer</artifactId>
|
10 | 5 | <version>1.35-SNAPSHOT</version>
|
|
162 | 157 |
|
163 | 158 | <properties>
|
164 | 159 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
165 |
| - <junit.version>4.11</junit.version> |
| 160 | + <junit.version>4.12</junit.version> |
166 | 161 | <hamcrest.version>1.3</hamcrest.version>
|
167 | 162 | <mockito.version>1.9.5</mockito.version>
|
168 | 163 | <jdk.source.version>1.8</jdk.source.version>
|
169 | 164 | <jdk.target.version>1.8</jdk.target.version>
|
170 | 165 | <tools.maven.plugin.version>1.4</tools.maven.plugin.version>
|
171 |
| - <jacoco.maven.plugin.version>0.7.5.201505241946</jacoco.maven.plugin.version> |
172 |
| - <maven.source.plugin.version>2.3</maven.source.plugin.version> |
173 |
| - <maven.javadoc.plugin.version>2.10.3</maven.javadoc.plugin.version> |
| 166 | + <jacoco.maven.plugin.version>0.7.9</jacoco.maven.plugin.version> |
| 167 | + <maven.source.plugin.version>3.0.1</maven.source.plugin.version> |
| 168 | + <maven.javadoc.plugin.version>2.10.4</maven.javadoc.plugin.version> |
174 | 169 | <maven.gpg.plugin.version>1.6</maven.gpg.plugin.version>
|
175 |
| - <maven.assembly.plugin.version>2.5.5</maven.assembly.plugin.version> |
| 170 | + <maven.assembly.plugin.version>3.0.0</maven.assembly.plugin.version> |
176 | 171 | <maven.antrun.plugin.version>1.8</maven.antrun.plugin.version>
|
177 |
| - <maven.compiler.plugin.version>3.3</maven.compiler.plugin.version> |
178 |
| - <maven.buildnumber.plugin.version>1.3</maven.buildnumber.plugin.version> |
179 |
| - <maven.jar.plugin.version>2.6</maven.jar.plugin.version> |
180 |
| - <maven.surefire.plugin.version>2.18.1</maven.surefire.plugin.version> |
181 |
| - <maven.release.plugin.version>2.5.2</maven.release.plugin.version> |
182 |
| - <maven.scm.plugin.version>1.9.4</maven.scm.plugin.version> |
| 172 | + <maven.compiler.plugin.version>3.6.1</maven.compiler.plugin.version> |
| 173 | + <maven.buildnumber.plugin.version>1.4</maven.buildnumber.plugin.version> |
| 174 | + <maven.jar.plugin.version>3.0.2</maven.jar.plugin.version> |
| 175 | + <maven.surefire.plugin.version>2.20</maven.surefire.plugin.version> |
| 176 | + <maven.release.plugin.version>2.5.3</maven.release.plugin.version> |
| 177 | + <maven.scm.plugin.version>1.9.5</maven.scm.plugin.version> |
183 | 178 | <maven.deploy.plugin.version>2.8.2</maven.deploy.plugin.version>
|
| 179 | + <nexus.staging.maven.plugin.version>1.6.8</nexus.staging.maven.plugin.version> |
184 | 180 | </properties>
|
185 | 181 |
|
186 | 182 | <scm>
|
|
346 | 342 | <pushChanges>false</pushChanges>
|
347 | 343 | <goals>deploy</goals>
|
348 | 344 | <tagNameFormat>@{project.version}</tagNameFormat>
|
| 345 | + <mavenExecutorId>forked-path</mavenExecutorId> |
| 346 | + <releaseProfiles>sonatype-oss-release</releaseProfiles> |
349 | 347 | </configuration>
|
350 | 348 | <dependencies>
|
351 | 349 | <dependency>
|
|
555 | 553 | <groupId>org.apache.maven.plugins</groupId>
|
556 | 554 | <artifactId>maven-source-plugin</artifactId>
|
557 | 555 | <version>${maven.source.plugin.version}</version>
|
| 556 | + <executions> |
| 557 | + <execution> |
| 558 | + <id>attach-sources</id> |
| 559 | + <goals> |
| 560 | + <goal>jar-no-fork</goal> |
| 561 | + </goals> |
| 562 | + </execution> |
| 563 | + </executions> |
558 | 564 | </plugin>
|
559 | 565 | <plugin>
|
560 | 566 | <groupId>org.apache.maven.plugins</groupId>
|
561 | 567 | <artifactId>maven-javadoc-plugin</artifactId>
|
562 | 568 | <version>${maven.javadoc.plugin.version}</version>
|
| 569 | + <executions> |
| 570 | + <execution> |
| 571 | + <id>attach-javadocs</id> |
| 572 | + <goals> |
| 573 | + <goal>jar</goal> |
| 574 | + </goals> |
| 575 | + </execution> |
| 576 | + </executions> |
563 | 577 | </plugin>
|
564 | 578 | <plugin>
|
565 | 579 | <groupId>org.apache.maven.plugins</groupId>
|
566 | 580 | <artifactId>maven-gpg-plugin</artifactId>
|
567 | 581 | <version>${maven.gpg.plugin.version}</version>
|
| 582 | + <executions> |
| 583 | + <execution> |
| 584 | + <id>sign-artifacts</id> |
| 585 | + <phase>verify</phase> |
| 586 | + <goals> |
| 587 | + <goal>sign</goal> |
| 588 | + </goals> |
| 589 | + </execution> |
| 590 | + </executions> |
| 591 | + </plugin> |
| 592 | + <plugin> |
| 593 | + <groupId>org.sonatype.plugins</groupId> |
| 594 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 595 | + <version>${nexus.staging.maven.plugin.version}</version> |
| 596 | + <extensions>true</extensions> |
| 597 | + <configuration> |
| 598 | + <serverId>sonatype-nexus-snapshots</serverId> |
| 599 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 600 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 601 | + </configuration> |
568 | 602 | </plugin>
|
569 | 603 | </plugins>
|
570 | 604 | </build>
|
|
643 | 677 | </build>
|
644 | 678 | </profile>
|
645 | 679 | </profiles>
|
| 680 | + <distributionManagement> |
| 681 | + <snapshotRepository> |
| 682 | + <id>sonatype-nexus-snapshots</id> |
| 683 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 684 | + </snapshotRepository> |
| 685 | + <repository> |
| 686 | + <id>ossrh</id> |
| 687 | + <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 688 | + </repository> |
| 689 | + </distributionManagement> |
646 | 690 | </project>
|
0 commit comments