Skip to content

Commit afcde36

Browse files
committed
HBASE-23337 Release scripts should rely on maven for deploy. (#887)
- switch to nexus-staging-maven-plugin for asf-release - cleaned up some tabs in the root pom (differs from master because there are no release scripts here.) Signed-off-by: stack <stack@apache.org> (cherry picked from commit 97e0107)
1 parent fcc0071 commit afcde36

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

pom.xml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2355,6 +2355,28 @@
23552355
<argLine>${hbase-surefire.cygwin-argLine}</argLine>
23562356
</properties>
23572357
</profile>
2358+
<!-- this profile should match the name of the release profile in the root asf pom -->
2359+
<profile>
2360+
<id>apache-release</id>
2361+
<build>
2362+
<plugins>
2363+
<!-- This should insert itself in place of the normal deploy plugin and then
2364+
handle either closing or dropping the staging repository for us depending
2365+
on if the build succeeds.
2366+
-->
2367+
<plugin>
2368+
<groupId>org.sonatype.plugins</groupId>
2369+
<artifactId>nexus-staging-maven-plugin</artifactId>
2370+
<version>1.6.8</version>
2371+
<extensions>true</extensions>
2372+
<configuration>
2373+
<nexusUrl>https://repository.apache.org/</nexusUrl>
2374+
<serverId>apache.releases.https</serverId>
2375+
</configuration>
2376+
</plugin>
2377+
</plugins>
2378+
</build>
2379+
</profile>
23582380
<!-- this profile should be activated for release builds -->
23592381
<profile>
23602382
<id>release</id>

0 commit comments

Comments
 (0)