Skip to content

Commit 91a6618

Browse files
committed
HV-1861 Switch to the nexus-staging-maven-plugin
1 parent 3e1b5fd commit 91a6618

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

pom.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@
240240
<version.org.wildfly.core>14.0.0.Final</version.org.wildfly.core>
241241
<version.wildfly-patch-gen.plugin>2.1.0.Final</version.wildfly-patch-gen.plugin>
242242
<version.wildfly-patch-gen.plugin.woodstox>5.0.3</version.wildfly-patch-gen.plugin.woodstox>
243+
<version.nexus-staging-maven-plugin>1.6.8</version.nexus-staging-maven-plugin>
243244

244245
<!-- Forbidden API related properties -->
245246
<forbiddenapis-junit.path>forbidden-junit.txt</forbiddenapis-junit.path>
@@ -945,6 +946,10 @@
945946
<plugin>
946947
<artifactId>maven-deploy-plugin</artifactId>
947948
<version>${version.deploy.plugin}</version>
949+
<configuration>
950+
<!-- we use the nexus-staging plugin -->
951+
<skip>true</skip>
952+
</configuration>
948953
</plugin>
949954
<plugin>
950955
<artifactId>maven-resources-plugin</artifactId>
@@ -1251,6 +1256,17 @@
12511256
</execution>
12521257
</executions>
12531258
</plugin>
1259+
<plugin>
1260+
<groupId>org.sonatype.plugins</groupId>
1261+
<artifactId>nexus-staging-maven-plugin</artifactId>
1262+
<version>${version.nexus-staging-maven-plugin}</version>
1263+
<extensions>true</extensions>
1264+
<configuration>
1265+
<nexusUrl>${ossrh.releases.repo.baseUrl}</nexusUrl>
1266+
<serverId>${ossrh.releases.repo.id}</serverId>
1267+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
1268+
</configuration>
1269+
</plugin>
12541270
</plugins>
12551271
</build>
12561272
</profile>

0 commit comments

Comments
 (0)