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

(cherry picked from commit 9d23570172ae7984f894406dfc6ad066648c61f4)
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> <Match>
<Package name="org.apache.hadoop.yarn.proto" /> <Package name="org.apache.hadoop.yarn.proto" />
</Match> </Match>
<Match>
<Package name="org.apache.hadoop.yarn.federation.proto" />
</Match>
<Match> <Match>
<Class name="~org\.apache\.hadoop\.yarn\.ipc\.RpcProtos.*" /> <Class name="~org\.apache\.hadoop\.yarn\.ipc\.RpcProtos.*" />
</Match> </Match>

View File

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