Skip to content

Commit 75e044f

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 1498df3 commit 75e044f

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
@@ -2163,6 +2163,28 @@
21632163
<argLine>${hbase-surefire.cygwin-argLine}</argLine>
21642164
</properties>
21652165
</profile>
2166+
<!-- this profile should match the name of the release profile in the root asf pom -->
2167+
<profile>
2168+
<id>apache-release</id>
2169+
<build>
2170+
<plugins>
2171+
<!-- This should insert itself in place of the normal deploy plugin and then
2172+
handle either closing or dropping the staging repository for us depending
2173+
on if the build succeeds.
2174+
-->
2175+
<plugin>
2176+
<groupId>org.sonatype.plugins</groupId>
2177+
<artifactId>nexus-staging-maven-plugin</artifactId>
2178+
<version>1.6.8</version>
2179+
<extensions>true</extensions>
2180+
<configuration>
2181+
<nexusUrl>https://repository.apache.org/</nexusUrl>
2182+
<serverId>apache.releases.https</serverId>
2183+
</configuration>
2184+
</plugin>
2185+
</plugins>
2186+
</build>
2187+
</profile>
21662188
<!-- this profile should be activated for release builds -->
21672189
<profile>
21682190
<id>release</id>

0 commit comments

Comments
 (0)