Skip to content

Commit 456f9f4

Browse files
committed
Move nexus stuff to release profile.
1 parent bbe9386 commit 456f9f4

1 file changed

Lines changed: 13 additions & 11 deletions

File tree

JSONUtil/pom.xml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -115,17 +115,7 @@
115115
<build>
116116

117117
<plugins>
118-
<plugin>
119-
<groupId>org.sonatype.plugins</groupId>
120-
<artifactId>nexus-staging-maven-plugin</artifactId>
121-
<version>1.6.3</version>
122-
<extensions>true</extensions>
123-
<configuration>
124-
<serverId>ossrh</serverId>
125-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
126-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
127-
</configuration>
128-
</plugin>
118+
129119

130120
</plugins>
131121
</build>
@@ -137,6 +127,18 @@
137127

138128
<plugins>
139129

130+
<plugin>
131+
<groupId>org.sonatype.plugins</groupId>
132+
<artifactId>nexus-staging-maven-plugin</artifactId>
133+
<version>1.6.3</version>
134+
<extensions>true</extensions>
135+
<configuration>
136+
<serverId>ossrh</serverId>
137+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
138+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
139+
</configuration>
140+
</plugin>
141+
140142
<plugin>
141143
<groupId>org.apache.maven.plugins</groupId>
142144
<artifactId>maven-source-plugin</artifactId>

0 commit comments

Comments
 (0)