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

(cherry picked from commit 9d23570172ae7984f894406dfc6ad066648c61f4)
(cherry picked from commit dd75ffb26b36eaa1a18d33dacbd9ee645dcd35e4)
This commit is contained in:
Subru Krishnan 2016-07-19 15:08:25 -07:00 committed by Carlo Curino
parent fc6d9612c7
commit 194524bdf8
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

@ -76,7 +76,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>