Skip to content

Commit 9396b8b

Browse files
busbeySercan Tekin
authored andcommitted
HBASE-23337 Release scripts should rely on maven for deploy. (apache#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) (cherry picked from commit 75e044f)
1 parent 58a0be8 commit 9396b8b

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
@@ -2216,6 +2216,28 @@
22162216
<argLine>${hbase-surefire.cygwin-argLine}</argLine>
22172217
</properties>
22182218
</profile>
2219+
<!-- this profile should match the name of the release profile in the root asf pom -->
2220+
<profile>
2221+
<id>apache-release</id>
2222+
<build>
2223+
<plugins>
2224+
<!-- This should insert itself in place of the normal deploy plugin and then
2225+
handle either closing or dropping the staging repository for us depending
2226+
on if the build succeeds.
2227+
-->
2228+
<plugin>
2229+
<groupId>org.sonatype.plugins</groupId>
2230+
<artifactId>nexus-staging-maven-plugin</artifactId>
2231+
<version>1.6.8</version>
2232+
<extensions>true</extensions>
2233+
<configuration>
2234+
<nexusUrl>https://repository.apache.org/</nexusUrl>
2235+
<serverId>apache.releases.https</serverId>
2236+
</configuration>
2237+
</plugin>
2238+
</plugins>
2239+
</build>
2240+
</profile>
22192241
<!-- this profile should be activated for release builds -->
22202242
<profile>
22212243
<id>release</id>

0 commit comments

Comments
 (0)