-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HBASE-23337 Release scripts should rely on maven for deploy. (#887)
- switch to nexus-staging-maven-plugin for asf-release - refactor release-build to use mvn deploy and its output. - cleaned up some tabs in the root pom Signed-off-by: stack <[email protected]>
- Loading branch information
Showing
2 changed files
with
61 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -545,17 +545,17 @@ | |
<name>Tak-Lon (Stephen) Wu</name> | ||
<email>[email protected]</email> | ||
<timezone>-8</timezone> | ||
</developer> | ||
</developer> | ||
<developer> | ||
<id>tedyu</id> | ||
<name>Ted Yu</name> | ||
<email>[email protected]</email> | ||
<timezone>-8</timezone> | ||
</developer> | ||
<developer> | ||
<id>tianjy</id> | ||
<email>[email protected]</email> | ||
<timezone>+8</timezone> | ||
<developer> | ||
<id>tianjy</id> | ||
<email>[email protected]</email> | ||
<timezone>+8</timezone> | ||
</developer> | ||
<developer> | ||
<id>todd</id> | ||
|
@@ -2481,6 +2481,28 @@ | |
<argLine>${hbase-surefire.cygwin-argLine}</argLine> | ||
</properties> | ||
</profile> | ||
<!-- this profile should match the name of the release profile in the root asf pom --> | ||
<profile> | ||
<id>apache-release</id> | ||
<build> | ||
<plugins> | ||
<!-- This should insert itself in place of the normal deploy plugin and then | ||
handle either closing or dropping the staging repository for us depending | ||
on if the build succeeds. | ||
--> | ||
<plugin> | ||
<groupId>org.sonatype.plugins</groupId> | ||
<artifactId>nexus-staging-maven-plugin</artifactId> | ||
<version>1.6.8</version> | ||
<extensions>true</extensions> | ||
<configuration> | ||
<nexusUrl>https://repository.apache.org/</nexusUrl> | ||
<serverId>apache.releases.https</serverId> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</profile> | ||
<!-- this profile should be activated for release builds --> | ||
<profile> | ||
<id>release</id> | ||
|
@@ -2729,7 +2751,7 @@ | |
<dependency> | ||
<groupId>org.apache.hadoop</groupId> | ||
<artifactId>hadoop-auth</artifactId> | ||
<version>${hadoop-two.version}</version> | ||
<version>${hadoop-two.version}</version> | ||
<exclusions> | ||
<exclusion> | ||
<groupId>com.google.guava</groupId> | ||
|