Skip to content

Commit 595ab16

Browse files
committed
#33 Move nexus-staging-maven-plugin into release profile
1 parent cef0ed5 commit 595ab16

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

pom.xml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -168,17 +168,6 @@
168168

169169
<build>
170170
<plugins>
171-
<plugin>
172-
<groupId>org.sonatype.plugins</groupId>
173-
<artifactId>nexus-staging-maven-plugin</artifactId>
174-
<version>1.6.6</version>
175-
<extensions>true</extensions>
176-
<configuration>
177-
<serverId>oss-sonatype</serverId>
178-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
179-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
180-
</configuration>
181-
</plugin>
182171
<plugin>
183172
<groupId>org.apache.maven.plugins</groupId>
184173
<artifactId>maven-compiler-plugin</artifactId>
@@ -265,6 +254,17 @@
265254
</execution>
266255
</executions>
267256
</plugin>
257+
<plugin>
258+
<groupId>org.sonatype.plugins</groupId>
259+
<artifactId>nexus-staging-maven-plugin</artifactId>
260+
<version>1.6.6</version>
261+
<extensions>true</extensions>
262+
<configuration>
263+
<serverId>sonatype-nexus-staging</serverId>
264+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
265+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
266+
</configuration>
267+
</plugin>
268268
</plugins>
269269
</build>
270270
</profile>

0 commit comments

Comments
 (0)