Skip to content

Commit e416bf6

Browse files
committed
Use the Nexus plugin instead of a parent pom
1 parent 80dfb3e commit e416bf6

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

pom.xml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,6 @@
3737
</license>
3838
</licenses>
3939

40-
<parent>
41-
<groupId>org.sonatype.oss</groupId>
42-
<artifactId>oss-parent</artifactId>
43-
<version>7</version>
44-
</parent>
45-
4640
<properties>
4741
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
4842
</properties>
@@ -205,6 +199,20 @@
205199
</execution>
206200
</executions>
207201
</plugin>
202+
203+
<plugin>
204+
<groupId>org.sonatype.plugins</groupId>
205+
<artifactId>nexus-staging-maven-plugin</artifactId>
206+
<version>1.6.7</version>
207+
208+
<extensions>true</extensions>
209+
210+
<configuration>
211+
<serverId>ossrh</serverId>
212+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
213+
<autoReleaseAfterClose>false</autoReleaseAfterClose>
214+
</configuration>
215+
</plugin>
208216
</plugins>
209217
</build>
210218

0 commit comments

Comments
 (0)