hadoop-yarn org.apache.hadoop ${yarn.version} 4.0.0 org.apache.hadoop hadoop-yarn-api hadoop-yarn-api ${project.artifact.file} ${project.parent.basedir} maven-antrun-plugin create-protobuf-generated-sources-directory initialize run org.codehaus.mojo exec-maven-plugin generate-sources generate-sources protoc -Isrc/main/proto/ --java_out=target/generated-sources/proto src/main/proto/yarn_protos.proto src/main/proto/yarn_service_protos.proto src/main/proto/AM_RM_protocol.proto src/main/proto/client_RM_protocol.proto src/main/proto/container_manager.proto exec org.codehaus.mojo build-helper-maven-plugin add-source generate-sources add-source target/generated-sources/proto