hadoop-yarn org.apache.hadoop 2.0.0-SNAPSHOT 4.0.0 org.apache.hadoop hadoop-yarn-api 2.0.0-SNAPSHOT hadoop-yarn-api ${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