MAPREDUCE-7035. Skip javadoc build for auto-generated sources in hadoop-mapreduce-client. Contributed by Mukul Kumar Singh.

This commit is contained in:
Akira Ajisaka 2018-10-09 21:11:49 +09:00
parent 7ba1cfdea7
commit 5b1cfcaeff
No known key found for this signature in database
GPG Key ID: C1EDBB9CA400FD50
3 changed files with 22 additions and 0 deletions

View File

@ -80,6 +80,13 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<excludePackageNames>org.apache.hadoop.yarn.proto:org.apache.hadoop.mapreduce.v2.proto:org.apache.hadoop.mapreduce.v2.hs.proto</excludePackageNames>
</configuration>
</plugin>
</plugins>
</build>
</project>

View File

@ -86,6 +86,14 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<sourcepath>target/generated-sources/avro/</sourcepath>
<excludePackageNames>org.apache.hadoop.mapreduce.jobhistory</excludePackageNames>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>

View File

@ -85,6 +85,13 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<excludePackageNames>org.apache.hadoop.mapred.proto</excludePackageNames>
</configuration>
</plugin>
</plugins>
</build>
</project>