Skip to content

Commit af2ac03

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 da9f6bf commit af2ac03

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

pom.xml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2157,6 +2157,28 @@
21572157
<argLine>${hbase-surefire.cygwin-argLine}</argLine>
21582158
</properties>
21592159
</profile>
2160+
<!-- this profile should match the name of the release profile in the root asf pom -->
2161+
<profile>
2162+
<id>apache-release</id>
2163+
<build>
2164+
<plugins>
2165+
<!-- This should insert itself in place of the normal deploy plugin and then
2166+
handle either closing or dropping the staging repository for us depending
2167+
on if the build succeeds.
2168+
-->
2169+
<plugin>
2170+
<groupId>org.sonatype.plugins</groupId>
2171+
<artifactId>nexus-staging-maven-plugin</artifactId>
2172+
<version>1.6.8</version>
2173+
<extensions>true</extensions>
2174+
<configuration>
2175+
<nexusUrl>https://repository.apache.org/</nexusUrl>
2176+
<serverId>apache.releases.https</serverId>
2177+
</configuration>
2178+
</plugin>
2179+
</plugins>
2180+
</build>
2181+
</profile>
21602182
<!-- this profile should be activated for release builds -->
21612183
<profile>
21622184
<id>release</id>

0 commit comments

Comments
 (0)