YARN-5300. Exclude generated federation protobuf sources from YARN Javadoc/findbugs build

(cherry picked from commit 9d23570172)
This commit is contained in:
Subru Krishnan 2016-07-19 15:08:25 -07:00 committed by Carlo Curino
parent cf6794ebe9
commit dd75ffb26b
2 changed files with 4 additions and 1 deletions

View File

@ -20,6 +20,9 @@
<Match>
<Package name="org.apache.hadoop.yarn.proto" />
</Match>
<Match>
<Package name="org.apache.hadoop.yarn.federation.proto" />
</Match>
<Match>
<Class name="~org\.apache\.hadoop\.yarn\.ipc\.RpcProtos.*" />
</Match>

View File

@ -75,7 +75,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<excludePackageNames>org.apache.hadoop.yarn.proto</excludePackageNames>
<excludePackageNames>org.apache.hadoop.yarn.proto:org.apache.hadoop.yarn.federation.proto</excludePackageNames>
</configuration>
</plugin>
</plugins>