From 19618e30a2e8f399e04d0a45ba2002306fa7b1f2 Mon Sep 17 00:00:00 2001 From: Mike Drob Date: Mon, 15 May 2017 21:14:58 -0500 Subject: [PATCH] HTRACE-398. Enforce maven.version=3.0.4 --- BUILDING.txt | 2 +- pom.xml | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/BUILDING.txt b/BUILDING.txt index ad8ef12..5407fa2 100644 --- a/BUILDING.txt +++ b/BUILDING.txt @@ -4,7 +4,7 @@ Building HTrace Building HTrace requires * Java 1.7 at least. -* Apache Maven 3.x +* Apache Maven 3.0.4 * Go programming language, version 1.4 or higher (for htrace-htraced) * The development package for leveldb (for htrace-htraced) diff --git a/pom.xml b/pom.xml index 44e850a..fe93777 100644 --- a/pom.xml +++ b/pom.xml @@ -122,6 +122,27 @@ language governing permissions and limitations under the License. --> org.apache.maven.plugins + maven-enforcer-plugin + ${maven-enforcer-plugin.version} + + + enforce-maven + + enforce + + + + + [3.0.4] + Maven 3.0.4 is required, see HTRACE-236 + + + + + + + + org.apache.maven.plugins maven-jar-plugin ${maven-jar-plugin.version} @@ -220,6 +241,10 @@ language governing permissions and limitations under the License. --> org.apache.maven.plugins + maven-enforcer-plugin + + + org.apache.maven.plugins maven-gpg-plugin @@ -276,6 +301,7 @@ language governing permissions and limitations under the License. --> 1.7 false + 1.4.1 2.1.2 2.8.1 2.4 -- 2.13.0