From 4c57ffcf90cc5e6ad07de85e3d780dd304f9ee14 Mon Sep 17 00:00:00 2001 From: Sahil Aggarwal Date: Wed, 6 Jun 2018 23:21:22 +0530 Subject: [PATCH] HBASE-19453: Use maven resource plugin to filter hbase-common.xml instead of ant plugin --- hbase-common/pom.xml | 13 +------------ hbase-common/src/main/resources/hbase-default.xml | 2 +- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/hbase-common/pom.xml b/hbase-common/pom.xml index 5ae8e0b637..f8670a741d 100644 --- a/hbase-common/pom.xml +++ b/hbase-common/pom.xml @@ -39,6 +39,7 @@ hbase-default.xml + true @@ -72,18 +73,6 @@ maven-antrun-plugin - - process-resources - - - - - - - run - - generate diff --git a/hbase-common/src/main/resources/hbase-default.xml b/hbase-common/src/main/resources/hbase-default.xml index 7983ea3916..428a5c8a6e 100644 --- a/hbase-common/src/main/resources/hbase-default.xml +++ b/hbase-common/src/main/resources/hbase-default.xml @@ -1198,7 +1198,7 @@ possible configurations would overwhelm and obscure the important. hbase.defaults.for.version - @@@VERSION@@@ + ${project.version} This defaults file was compiled for version ${project.version}. This variable is used to make sure that a user doesn't have an old version of hbase-default.xml on the classpath. -- 2.16.2