Skip to content

Commit 027dc25

Browse files
committed
Removed ossrh parent pom
1 parent 092d369 commit 027dc25

File tree

1 file changed

+78
-13
lines changed

1 file changed

+78
-13
lines changed

pom.xml

Lines changed: 78 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,9 @@
1616
<packaging>pom</packaging>
1717

1818
<prerequisites>
19-
<maven>3.0.1</maven>
19+
<maven>3.0.4</maven>
2020
</prerequisites>
2121

22-
<parent>
23-
<groupId>org.sonatype.oss</groupId>
24-
<artifactId>oss-parent</artifactId>
25-
<version>9</version>
26-
</parent>
27-
2822
<licenses>
2923
<license>
3024
<name>The Apache Software License, Version 2.0</name>
@@ -52,6 +46,17 @@
5246
<tag>HEAD</tag>
5347
</scm>
5448

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+
5560
<properties>
5661
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
5762
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
@@ -128,7 +133,7 @@
128133
<plugin>
129134
<groupId>org.apache.maven.plugins</groupId>
130135
<artifactId>maven-resources-plugin</artifactId>
131-
<version>3.0.1</version>
136+
<version>3.0.2</version>
132137
</plugin>
133138
<plugin>
134139
<groupId>org.apache.maven.plugins</groupId>
@@ -175,11 +180,6 @@
175180
<artifactId>maven-dependency-plugin</artifactId>
176181
<version>2.10</version>
177182
</plugin>
178-
<plugin>
179-
<groupId>org.apache.maven.plugins</groupId>
180-
<artifactId>maven-gpg-plugin</artifactId>
181-
<version>1.6</version>
182-
</plugin>
183183
</plugins>
184184
</pluginManagement>
185185
<plugins>
@@ -441,6 +441,71 @@
441441
</plugins>
442442
</pluginManagement>
443443
<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>
444509
<plugin>
445510
<groupId>org.apache.maven.plugins</groupId>
446511
<artifactId>maven-release-plugin</artifactId>

0 commit comments

Comments
 (0)