This is an automated email from the ASF dual-hosted git repository.
aajisaka pushed a commit to branch branch-3.4
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/branch-3.4 by this push:
new 7b63fb96f22 YARN-11921. Replace unsupported org.xolstice.maven.plugins
in hadoop-yarn-csi (#8156)
7b63fb96f22 is described below
commit 7b63fb96f22857f44bab25545e74830e05ae4f25
Author: Edward Capriolo <[email protected]>
AuthorDate: Thu Jan 15 21:27:52 2026 -0500
YARN-11921. Replace unsupported org.xolstice.maven.plugins in
hadoop-yarn-csi (#8156)
Signed-off-by: Ayush Saxena <[email protected]>
Signed-off-by: Akira Ajisaka <[email protected]>
(cherry picked from commit d785981beb49d523e899e777cedbbd0603da19be)
---
.../hadoop-yarn/hadoop-yarn-csi/pom.xml | 19 ++++++++++++-------
1 file changed, 12 insertions(+), 7 deletions(-)
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-csi/pom.xml
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-csi/pom.xml
index 2eb438783c5..47fddc095a8 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-csi/pom.xml
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-csi/pom.xml
@@ -28,6 +28,8 @@
<properties>
<grpc.version>1.69.0</grpc.version>
<animal-sniffer.version>1.24</animal-sniffer.version>
+ <genrpc.version>1.53.0</genrpc.version>
+ <protoc.version>3.17.3</protoc.version>
</properties>
<dependencies>
@@ -203,19 +205,22 @@
</configuration>
</plugin>
<plugin>
- <groupId>org.xolstice.maven.plugins</groupId>
+ <groupId>io.github.ascopes</groupId>
<artifactId>protobuf-maven-plugin</artifactId>
- <version>${protobuf-maven-plugin.version}</version>
<configuration>
-
<protocArtifact>com.google.protobuf:protoc:${hadoop.protobuf.version}:exe:${os.detected.classifier}</protocArtifact>
- <pluginId>grpc-java</pluginId>
-
<pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier}</pluginArtifact>
+ <protocVersion>${protoc.version}</protocVersion>
+ <binaryMavenPlugins>
+ <binaryMavenPlugin>
+ <groupId>io.grpc</groupId>
+ <artifactId>protoc-gen-grpc-java</artifactId>
+ <version>${genrpc.version}</version>
+ </binaryMavenPlugin>
+ </binaryMavenPlugins>
</configuration>
<executions>
<execution>
<goals>
- <goal>compile</goal>
- <goal>compile-custom</goal>
+ <goal>generate</goal>
</goals>
</execution>
</executions>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]