Skip to content

Commit effe683

Browse files
committed
Add nexus-staging-maven-plugin
1 parent 7e81a81 commit effe683

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

pom.xml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2-
<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+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
34
<parent>
45
<groupId>org.sonatype.oss</groupId>
56
<artifactId>oss-parent</artifactId>
@@ -154,6 +155,17 @@
154155
<artifactId>sonar-maven-plugin</artifactId>
155156
<version>2.0</version>
156157
</plugin>
158+
<plugin>
159+
<groupId>org.sonatype.plugins</groupId>
160+
<artifactId>nexus-staging-maven-plugin</artifactId>
161+
<version>1.6</version>
162+
<extensions>true</extensions>
163+
<configuration>
164+
<serverId>sonatype-nexus-staging</serverId>
165+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
166+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
167+
</configuration>
168+
</plugin>
157169
</plugins>
158170
</build>
159171
<profiles>

0 commit comments

Comments
 (0)