Skip to content

Commit 6f908a1

Browse files
committed
Nexus Staging Maven Plugin, autoReleaseAfterClose set to false.
Signed-off-by: Tomas Kraus <[email protected]>
1 parent 9892c06 commit 6f908a1

File tree

3 files changed

+43
-0
lines changed

3 files changed

+43
-0
lines changed

api/pom.xml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,4 +125,25 @@
125125
</plugin>
126126
</plugins>
127127
</build>
128+
129+
<profiles>
130+
<profile>
131+
<id>jvnet-release</id>
132+
<build>
133+
<plugins>
134+
<plugin>
135+
<groupId>org.sonatype.plugins</groupId>
136+
<artifactId>nexus-staging-maven-plugin</artifactId>
137+
<extensions>true</extensions>
138+
<configuration>
139+
<serverId>ossrh</serverId>
140+
<nexusUrl>${sonatypeOssDistMgmtReleasesUrl}</nexusUrl>
141+
<autoReleaseAfterClose>false</autoReleaseAfterClose>
142+
</configuration>
143+
</plugin>
144+
</plugins>
145+
</build>
146+
</profile>
147+
</profiles>
148+
128149
</project>

impl/pom.xml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,5 +145,22 @@
145145
</plugins>
146146
</build>
147147
</profile>
148+
<profile>
149+
<id>jvnet-release</id>
150+
<build>
151+
<plugins>
152+
<plugin>
153+
<groupId>org.sonatype.plugins</groupId>
154+
<artifactId>nexus-staging-maven-plugin</artifactId>
155+
<extensions>true</extensions>
156+
<configuration>
157+
<serverId>ossrh</serverId>
158+
<nexusUrl>${sonatypeOssDistMgmtReleasesUrl}</nexusUrl>
159+
<autoReleaseAfterClose>false</autoReleaseAfterClose>
160+
</configuration>
161+
</plugin>
162+
</plugins>
163+
</build>
164+
</profile>
148165
</profiles>
149166
</project>

pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,11 @@
242242
</dependency>
243243
</dependencies>
244244
</plugin>
245+
<plugin>
246+
<groupId>org.sonatype.plugins</groupId>
247+
<artifactId>nexus-staging-maven-plugin</artifactId>
248+
<version>1.6.7</version>
249+
</plugin>
245250
</plugins>
246251
</pluginManagement>
247252
</build>

0 commit comments

Comments
 (0)