diff --git a/hadoop/hadoop-common-stable/pom.xml b/hadoop/hadoop-common-stable/pom.xml index 523e2c1..b068d83 100644 --- a/hadoop/hadoop-common-stable/pom.xml +++ b/hadoop/hadoop-common-stable/pom.xml @@ -275,10 +275,6 @@ - - org.apache.hadoop.thirdparty - hadoop-shaded-protobuf_3_25 - org.apache.hadoop hadoop-annotations @@ -504,7 +500,8 @@ com.google.protobuf protobuf-java - ${common.protobuf2.scope} + ${protobuf.version} + compile com.google.code.gson @@ -657,6 +654,14 @@ + + + kr.motd.maven + os-maven-plugin + 1.7.1 + + + com.googlecode.maven-download-plugin @@ -725,6 +730,18 @@ + + add-protobuf-sources + process-sources + + add-source + + + + ${project.build.directory}/generated-sources/protobuf/java + + + add-test-sources process-test-sources @@ -737,6 +754,59 @@ + + add-test-protobuf-sources + process-test-sources + + add-source + + + + ${project.build.directory}/generated-test-sources/protobuf/java + + + + + + + org.xolstice.maven.plugins + protobuf-maven-plugin + 0.6.1 + + + com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier} + + + + + + compile-protobuf + generate-sources + + ${project.build.directory}/hadoop-rel-release-${hadoop.stable.version}/hadoop-common-project/hadoop-common/src/main/proto + + ProtobufRpcEngine.proto + + ${project.build.directory}/generated-sources/protobuf/java + + + compile + + + + compile-protobuf-tests + generate-test-sources + + ${project.build.directory}/hadoop-rel-release-${hadoop.stable.version}/hadoop-common-project/hadoop-common/src/main/proto + + *legacy.proto + + ${project.build.directory}/generated-test-sources/protobuf/java + + + compile + + diff --git a/pom.xml b/pom.xml index 9ef0530..ea145fb 100644 --- a/pom.xml +++ b/pom.xml @@ -94,6 +94,7 @@ 6.0.0 4.1.113.Final 2.1.0 + 4.28.3 2.0.16 1.1.10.7 4.8.6