|
@@ -285,53 +285,42 @@
|
|
|
</execution>
|
|
|
</executions>
|
|
|
</plugin>
|
|
|
-
|
|
|
- <plugin>
|
|
|
- <groupId>org.apache.hadoop</groupId>
|
|
|
- <artifactId>hadoop-maven-plugins</artifactId>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.xolstice.maven.plugins</groupId>
|
|
|
+ <artifactId>protobuf-maven-plugin</artifactId>
|
|
|
<executions>
|
|
|
<execution>
|
|
|
- <id>compile-protoc</id>
|
|
|
- <goals>
|
|
|
- <goal>protoc</goal>
|
|
|
- </goals>
|
|
|
+ <id>src-compile-protoc</id>
|
|
|
<configuration>
|
|
|
- <protocVersion>${protobuf.version}</protocVersion>
|
|
|
- <protocCommand>${protoc.path}</protocCommand>
|
|
|
- <imports>
|
|
|
- <param>${basedir}/../../../../hadoop-common-project/hadoop-common/src/main/proto</param>
|
|
|
- <param>${basedir}/../../hadoop-yarn-api/src/main/proto</param>
|
|
|
- <param>${basedir}/../../hadoop-yarn-common/src/main/proto</param>
|
|
|
- <param>${basedir}/../hadoop-yarn-server-common/src/main/proto</param>
|
|
|
- <param>${basedir}/src/main/proto</param>
|
|
|
- </imports>
|
|
|
- <source>
|
|
|
- <directory>${basedir}/src/main/proto</directory>
|
|
|
- <includes>
|
|
|
- <include>yarn_server_resourcemanager_recovery.proto</include>
|
|
|
- </includes>
|
|
|
- </source>
|
|
|
+ <skip>false</skip>
|
|
|
+ <additionalProtoPathElements>
|
|
|
+ <additionalProtoPathElement>
|
|
|
+ ${basedir}/../../../../hadoop-common-project/hadoop-common/src/main/proto
|
|
|
+ </additionalProtoPathElement>
|
|
|
+ <additionalProtoPathElement>
|
|
|
+ ${basedir}/../../hadoop-yarn-api/src/main/proto
|
|
|
+ </additionalProtoPathElement>
|
|
|
+ <additionalProtoPathElement>
|
|
|
+ ${basedir}/../../hadoop-yarn-common/src/main/proto
|
|
|
+ </additionalProtoPathElement>
|
|
|
+ <additionalProtoPathElement>
|
|
|
+ ${basedir}/../hadoop-yarn-server-common/src/main/proto
|
|
|
+ </additionalProtoPathElement>
|
|
|
+ </additionalProtoPathElements>
|
|
|
</configuration>
|
|
|
</execution>
|
|
|
<execution>
|
|
|
- <id>compile-test-protoc</id>
|
|
|
- <goals>
|
|
|
- <goal>test-protoc</goal>
|
|
|
- </goals>
|
|
|
+ <id>src-test-compile-protoc</id>
|
|
|
<configuration>
|
|
|
- <protocVersion>${protobuf.version}</protocVersion>
|
|
|
- <protocCommand>${protoc.path}</protocCommand>
|
|
|
- <imports>
|
|
|
- <param>${basedir}/../../../../hadoop-common-project/hadoop-common/src/main/proto</param>
|
|
|
- <param>${basedir}/../../hadoop-yarn-api/src/main/proto</param>
|
|
|
- <param>${basedir}/src/test/proto</param>
|
|
|
- </imports>
|
|
|
- <source>
|
|
|
- <directory>${basedir}/src/test/proto</directory>
|
|
|
- <includes>
|
|
|
- <include>test_client_tokens.proto</include>
|
|
|
- </includes>
|
|
|
- </source>
|
|
|
+ <skip>false</skip>
|
|
|
+ <additionalProtoPathElements>
|
|
|
+ <additionalProtoPathElement>
|
|
|
+ ${basedir}/../../../../hadoop-common-project/hadoop-common/src/main/proto
|
|
|
+ </additionalProtoPathElement>
|
|
|
+ <additionalProtoPathElement>
|
|
|
+ ${basedir}/../../hadoop-yarn-api/src/main/proto
|
|
|
+ </additionalProtoPathElement>
|
|
|
+ </additionalProtoPathElements>
|
|
|
</configuration>
|
|
|
</execution>
|
|
|
</executions>
|