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>
(cherry picked from commit 2fc879e863)
This commit is contained in:
Duo Zhang 2022-10-24 11:50:48 +08:00
parent 25dad1fb68
commit 738ed028ad
51 changed files with 55 additions and 53 deletions

View File

@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase</artifactId>
<version>2.6.0-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>2.6.0-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>2.6.0-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>2.6.0-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>2.6.0-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>2.6.0-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>2.6.0-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>2.6.0-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>..</relativePath>
</parent>

View File

@ -25,12 +25,12 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase</artifactId>
<version>2.6.0-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>..</relativePath>
</parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-checkstyle</artifactId>
<version>2.6.0-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>2.6.0-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>2.6.0-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>2.6.0-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>2.6.0-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>2.6.0-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>2.6.0-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>2.6.0-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>2.6.0-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>2.6.0-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>2.6.0-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>2.6.0-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>2.6.0-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>2.6.0-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>../hbase-build-configuration</relativePath>
</parent>

View File

@ -21,7 +21,7 @@ limitations under the License.
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-build-configuration</artifactId>
<version>2.6.0-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>2.6.0-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>2.6.0-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>2.6.0-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>2.6.0-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>2.6.0-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>2.6.0-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>2.6.0-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>2.6.0-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>2.6.0-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>2.6.0-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>../hbase-build-configuration</relativePath>
</parent>
<artifactId>hbase-protocol</artifactId>

View File

@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-build-configuration</artifactId>
<version>2.6.0-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>2.6.0-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>2.6.0-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>2.6.0-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>../hbase-build-configuration</relativePath>
</parent>
<artifactId>hbase-rsgroup</artifactId>

View File

@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-build-configuration</artifactId>
<version>2.6.0-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>2.6.0-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>2.6.0-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>2.6.0-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>2.6.0-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>2.6.0-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-shaded</artifactId>
<version>2.6.0-SNAPSHOT</version>
<version>${revision}</version>
<relativePath>..</relativePath>
</parent>

View File

@ -15,7 +15,7 @@
<parent>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase</artifactId>
<version>2.6.0-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>2.6.0-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>2.6.0-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>2.6.0-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>2.6.0-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>2.6.0-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>2.6.0-SNAPSHOT</version>
<version>${revision}</version>
<packaging>pom</packaging>
<name>Apache HBase</name>
<description>Apache HBase™ is the Hadoop database. Use it when you need
@ -521,6 +521,7 @@
</site>
</distributionManagement>
<properties>
<revision>2.6.0-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>
@ -540,7 +541,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-two.version>2.10.2</hadoop-two.version>