HBASE-27434 Use ${revision} as placeholder for maven version to make it easier to control the version from command line (#4836)

Signed-off-by: GeorryHuang <huangzhuoyue@apache.org>
This commit is contained in:
Duo Zhang 2022-10-24 11:50:48 +08:00 committed by GitHub
parent dad9a7da92
commit 2fc879e863
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
50 changed files with 54 additions and 52 deletions

View File

@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase</artifactId>
<version>3.0.0-alpha-4-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>..</relativePath>
</parent>

View File

@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-archetypes</artifactId>
<version>3.0.0-alpha-4-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>..</relativePath>
</parent>

View File

@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-archetypes</artifactId>
<version>3.0.0-alpha-4-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>..</relativePath>
</parent>
<artifactId>hbase-client-project</artifactId>

View File

@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-archetypes</artifactId>
<version>3.0.0-alpha-4-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>..</relativePath>
</parent>
<artifactId>hbase-shaded-client-project</artifactId>

View File

@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-build-configuration</artifactId>
<version>3.0.0-alpha-4-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>../hbase-build-configuration</relativePath>
</parent>

View File

@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-build-configuration</artifactId>
<version>3.0.0-alpha-4-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>../hbase-build-configuration</relativePath>
</parent>
<artifactId>hbase-assembly</artifactId>

View File

@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-build-configuration</artifactId>
<version>3.0.0-alpha-4-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>../hbase-build-configuration</relativePath>
</parent>

View File

@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-build-configuration</artifactId>
<version>3.0.0-alpha-4-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>../hbase-build-configuration</relativePath>
</parent>
<artifactId>hbase-backup</artifactId>

View File

@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-build-configuration</artifactId>
<version>3.0.0-alpha-4-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>../hbase-build-configuration</relativePath>
</parent>

View File

@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase</artifactId>
<version>3.0.0-alpha-4-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>..</relativePath>
</parent>

View File

@ -25,11 +25,11 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase</artifactId>
<version>3.0.0-alpha-4-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>..</relativePath>
</parent>
<artifactId>hbase-checkstyle</artifactId>
<version>3.0.0-alpha-4-SNAPSHOT</version>
<version>${revision}</version>
<name>Apache HBase - Checkstyle</name>
<description>Module to hold Checkstyle properties for HBase.</description>

View File

@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-build-configuration</artifactId>
<version>3.0.0-alpha-4-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>../hbase-build-configuration</relativePath>
</parent>

View File

@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-build-configuration</artifactId>
<version>3.0.0-alpha-4-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>../hbase-build-configuration</relativePath>
</parent>

View File

@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-compression</artifactId>
<version>3.0.0-alpha-4-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>..</relativePath>
</parent>
<artifactId>hbase-compression-aircompressor</artifactId>

View File

@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-compression</artifactId>
<version>3.0.0-alpha-4-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>..</relativePath>
</parent>
<artifactId>hbase-compression-brotli</artifactId>

View File

@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-compression</artifactId>
<version>3.0.0-alpha-4-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>..</relativePath>
</parent>
<artifactId>hbase-compression-lz4</artifactId>

View File

@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-compression</artifactId>
<version>3.0.0-alpha-4-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>..</relativePath>
</parent>
<artifactId>hbase-compression-snappy</artifactId>

View File

@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-compression</artifactId>
<version>3.0.0-alpha-4-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>..</relativePath>
</parent>
<artifactId>hbase-compression-xz</artifactId>

View File

@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-compression</artifactId>
<version>3.0.0-alpha-4-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>..</relativePath>
</parent>
<artifactId>hbase-compression-zstd</artifactId>

View File

@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-build-configuration</artifactId>
<version>3.0.0-alpha-4-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>../hbase-build-configuration</relativePath>
</parent>
<artifactId>hbase-compression</artifactId>

View File

@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-build-configuration</artifactId>
<version>3.0.0-alpha-4-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>../hbase-build-configuration</relativePath>
</parent>
<artifactId>hbase-endpoint</artifactId>

View File

@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-build-configuration</artifactId>
<version>3.0.0-alpha-4-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>../hbase-build-configuration</relativePath>
</parent>
<artifactId>hbase-examples</artifactId>

View File

@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-build-configuration</artifactId>
<version>3.0.0-alpha-4-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>../hbase-build-configuration</relativePath>
</parent>
<artifactId>hbase-external-blockcache</artifactId>

View File

@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-build-configuration</artifactId>
<version>3.0.0-alpha-4-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>../hbase-build-configuration</relativePath>
</parent>

View File

@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-build-configuration</artifactId>
<version>3.0.0-alpha-4-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>../hbase-build-configuration</relativePath>
</parent>
<artifactId>hbase-hbtop</artifactId>

View File

@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-build-configuration</artifactId>
<version>3.0.0-alpha-4-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>../hbase-build-configuration</relativePath>
</parent>
<artifactId>hbase-http</artifactId>

View File

@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-build-configuration</artifactId>
<version>3.0.0-alpha-4-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>../hbase-build-configuration</relativePath>
</parent>

View File

@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-build-configuration</artifactId>
<version>3.0.0-alpha-4-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>../hbase-build-configuration</relativePath>
</parent>

View File

@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-build-configuration</artifactId>
<version>3.0.0-alpha-4-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>../hbase-build-configuration</relativePath>
</parent>
<artifactId>hbase-mapreduce</artifactId>

View File

@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-build-configuration</artifactId>
<version>3.0.0-alpha-4-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>../hbase-build-configuration</relativePath>
</parent>

View File

@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-build-configuration</artifactId>
<version>3.0.0-alpha-4-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>../hbase-build-configuration</relativePath>
</parent>

View File

@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-build-configuration</artifactId>
<version>3.0.0-alpha-4-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>../hbase-build-configuration</relativePath>
</parent>

View File

@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-build-configuration</artifactId>
<version>3.0.0-alpha-4-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>../hbase-build-configuration</relativePath>
</parent>
<artifactId>hbase-protocol-shaded</artifactId>

View File

@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-build-configuration</artifactId>
<version>3.0.0-alpha-4-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>../hbase-build-configuration</relativePath>
</parent>
<artifactId>hbase-replication</artifactId>

View File

@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-build-configuration</artifactId>
<version>3.0.0-alpha-4-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>../hbase-build-configuration</relativePath>
</parent>

View File

@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-build-configuration</artifactId>
<version>3.0.0-alpha-4-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>../hbase-build-configuration</relativePath>
</parent>
<artifactId>hbase-rest</artifactId>

View File

@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-build-configuration</artifactId>
<version>3.0.0-alpha-4-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>../hbase-build-configuration</relativePath>
</parent>
<artifactId>hbase-server</artifactId>

View File

@ -15,7 +15,7 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase</artifactId>
<version>3.0.0-alpha-4-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>../..</relativePath>
</parent>
<artifactId>hbase-shaded-check-invariants</artifactId>

View File

@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-shaded</artifactId>
<version>3.0.0-alpha-4-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>..</relativePath>
</parent>
<artifactId>hbase-shaded-client-byo-hadoop</artifactId>

View File

@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-shaded</artifactId>
<version>3.0.0-alpha-4-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>..</relativePath>
</parent>
<artifactId>hbase-shaded-client</artifactId>

View File

@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-shaded</artifactId>
<version>3.0.0-alpha-4-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>..</relativePath>
</parent>
<artifactId>hbase-shaded-mapreduce</artifactId>

View File

@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-build-configuration</artifactId>
<version>3.0.0-alpha-4-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>../../hbase-build-configuration</relativePath>
</parent>

View File

@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-shaded</artifactId>
<version>3.0.0-alpha-4-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>..</relativePath>
</parent>

View File

@ -15,7 +15,7 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase</artifactId>
<version>3.0.0-alpha-4-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>../..</relativePath>
</parent>
<artifactId>hbase-shaded-with-hadoop-check-invariants</artifactId>

View File

@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-build-configuration</artifactId>
<version>3.0.0-alpha-4-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>../hbase-build-configuration</relativePath>
</parent>
<artifactId>hbase-shaded</artifactId>

View File

@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-build-configuration</artifactId>
<version>3.0.0-alpha-4-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>../hbase-build-configuration</relativePath>
</parent>
<artifactId>hbase-shell</artifactId>

View File

@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-build-configuration</artifactId>
<version>3.0.0-alpha-4-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>../hbase-build-configuration</relativePath>
</parent>
<artifactId>hbase-testing-util</artifactId>

View File

@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-build-configuration</artifactId>
<version>3.0.0-alpha-4-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>../hbase-build-configuration</relativePath>
</parent>
<artifactId>hbase-thrift</artifactId>

View File

@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-build-configuration</artifactId>
<version>3.0.0-alpha-4-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>../hbase-build-configuration</relativePath>
</parent>
<artifactId>hbase-zookeeper</artifactId>

View File

@ -38,7 +38,7 @@
</parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase</artifactId>
<version>3.0.0-alpha-4-SNAPSHOT</version>
<version>${revision}</version>
<packaging>pom</packaging>
<name>Apache HBase</name>
<description>Apache HBase™ is the Hadoop database. Use it when you need
@ -749,6 +749,7 @@
</site>
</distributionManagement>
<properties>
<revision>3.0.0-alpha-4-SNAPSHOT</revision>
<!-- override on command line to have generated LICENSE files include
diagnostic info for verifying notice requirements -->
<license.debug.print.included>false</license.debug.print.included>
@ -768,7 +769,8 @@
<compileSource>1.8</compileSource>
<releaseTarget>8</releaseTarget>
<!-- Build dependencies -->
<maven.min.version>3.0.4</maven.min.version>
<!-- The $revision feature is introduced in 3.5.0 -->
<maven.min.version>3.5.0</maven.min.version>
<java.min.version>${compileSource}</java.min.version>
<!-- Dependencies -->
<hadoop-three.version>3.2.4</hadoop-three.version>