Skip to content

Commit 3e3bc1e

Browse files
committed
prepare next minor release version
1 parent 7123764 commit 3e3bc1e

File tree

1 file changed

+60
-16
lines changed

1 file changed

+60
-16
lines changed

pom.xml

+60-16
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
<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">
22
<modelVersion>4.0.0</modelVersion>
3-
<parent>
4-
<groupId>org.sonatype.oss</groupId>
5-
<artifactId>oss-parent</artifactId>
6-
<version>9</version>
7-
</parent>
83
<groupId>com.github.chewiebug</groupId>
94
<artifactId>gcviewer</artifactId>
105
<version>1.35-SNAPSHOT</version>
@@ -162,25 +157,26 @@
162157

163158
<properties>
164159
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
165-
<junit.version>4.11</junit.version>
160+
<junit.version>4.12</junit.version>
166161
<hamcrest.version>1.3</hamcrest.version>
167162
<mockito.version>1.9.5</mockito.version>
168163
<jdk.source.version>1.8</jdk.source.version>
169164
<jdk.target.version>1.8</jdk.target.version>
170165
<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>
174169
<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>
176171
<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>
183178
<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>
184180
</properties>
185181

186182
<scm>
@@ -346,6 +342,8 @@
346342
<pushChanges>false</pushChanges>
347343
<goals>deploy</goals>
348344
<tagNameFormat>@{project.version}</tagNameFormat>
345+
<mavenExecutorId>forked-path</mavenExecutorId>
346+
<releaseProfiles>sonatype-oss-release</releaseProfiles>
349347
</configuration>
350348
<dependencies>
351349
<dependency>
@@ -555,16 +553,52 @@
555553
<groupId>org.apache.maven.plugins</groupId>
556554
<artifactId>maven-source-plugin</artifactId>
557555
<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>
558564
</plugin>
559565
<plugin>
560566
<groupId>org.apache.maven.plugins</groupId>
561567
<artifactId>maven-javadoc-plugin</artifactId>
562568
<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>
563577
</plugin>
564578
<plugin>
565579
<groupId>org.apache.maven.plugins</groupId>
566580
<artifactId>maven-gpg-plugin</artifactId>
567581
<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>
568602
</plugin>
569603
</plugins>
570604
</build>
@@ -643,4 +677,14 @@
643677
</build>
644678
</profile>
645679
</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>
646690
</project>

0 commit comments

Comments
 (0)