This is an automated email from the ASF dual-hosted git repository.

aajisaka pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/trunk by this push:
     new d785981beb4 YARN-11921. Replace unsupported org.xolstice.maven.plugins 
in hadoop-yarn-csi (#8156)
d785981beb4 is described below

commit d785981beb49d523e899e777cedbbd0603da19be
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]>
---
 .../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 2e9ce48b2ce..5b42be99ff8 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>
@@ -194,19 +196,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]

Reply via email to