Skip to content

Commit 07627f0

Browse files
committed
Use nexus-staging-maven-plugin
1 parent 5ea5a01 commit 07627f0

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

pom.xml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,26 @@
150150
<artifactId>versions-maven-plugin</artifactId>
151151
<version>2.16.1</version>
152152
</plugin>
153+
<plugin>
154+
<groupId>org.sonatype.plugins</groupId>
155+
<artifactId>nexus-staging-maven-plugin</artifactId>
156+
<version>1.6.13</version>
157+
<extensions>true</extensions>
158+
<configuration>
159+
<serverId>sonatype-nexus-staging</serverId>
160+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
161+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
162+
</configuration>
163+
<executions>
164+
<execution>
165+
<id>default-deploy</id>
166+
<phase>deploy</phase>
167+
<goals>
168+
<goal>deploy</goal>
169+
</goals>
170+
</execution>
171+
</executions>
172+
</plugin>
153173
</plugins>
154174
</build>
155175
<properties>
@@ -173,4 +193,10 @@
173193
</build>
174194
</profile>
175195
</profiles>
196+
<distributionManagement>
197+
<repository>
198+
<id>sonatype-nexus-staging</id>
199+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
200+
</repository>
201+
</distributionManagement>
176202
</project>

0 commit comments

Comments
 (0)