From 1709c222d9ce1bbc33cbda3e2e95ae9b63467d53 Mon Sep 17 00:00:00 2001 From: Alejandro Abdelnur Date: Thu, 14 Feb 2013 01:36:47 +0000 Subject: [PATCH] HADOOP-9117. replace protoc ant plugin exec with a maven plugin. (tucu) git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1446021 13f79535-47bb-0310-9956-ffa450edef68 --- .../hadoop-common/CHANGES.txt | 2 + .../dev-support/findbugsExcludeFile.xml | 4 + hadoop-common-project/hadoop-common/pom.xml | 105 +++++++-------- hadoop-hdfs-project/hadoop-hdfs/pom.xml | 125 ++++++++++-------- .../hadoop-hdfs/src/contrib/bkjournal/pom.xml | 67 +++------- .../hadoop-mapreduce-client-common/pom.xml | 69 +++------- .../maven/plugin/protoc/ProtocMojo.java | 86 ++++++++++++ .../hadoop-yarn/hadoop-yarn-api/pom.xml | 75 +++-------- .../hadoop-yarn/hadoop-yarn-common/pom.xml | 76 +++-------- .../hadoop-yarn-server-common/pom.xml | 64 +++------ .../hadoop-yarn-server-nodemanager/pom.xml | 74 +++-------- 11 files changed, 321 insertions(+), 426 deletions(-) create mode 100644 hadoop-maven-plugins/src/main/java/org/apache/hadoop/maven/plugin/protoc/ProtocMojo.java diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index cff0088add5..68bae2f7130 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -16,6 +16,8 @@ Release 2.0.4-beta - UNRELEASED HADOOP-8924. Add maven plugin alternative to shell script to save package-info.java. (Chris Nauroth via suresh) + HADOOP-9117. replace protoc ant plugin exec with a maven plugin. (tucu) + OPTIMIZATIONS BUG FIXES diff --git a/hadoop-common-project/hadoop-common/dev-support/findbugsExcludeFile.xml b/hadoop-common-project/hadoop-common/dev-support/findbugsExcludeFile.xml index 7fa746ccc88..d62a2bc435b 100644 --- a/hadoop-common-project/hadoop-common/dev-support/findbugsExcludeFile.xml +++ b/hadoop-common-project/hadoop-common/dev-support/findbugsExcludeFile.xml @@ -298,6 +298,10 @@ + + + +