Browse Source

HADOOP-19244. Pullout arch-agnostic maven javadoc plugin configurations in hadoop-common (#6970) Contributed by Cheng Pan.

Reviewed-by: Steve Loughran <stevel@apache.org>
Signed-off-by: Shilun Fan <slfan1989@apache.org>
Cheng Pan 11 months ago
parent
commit
59d5e0bb2e
1 changed files with 11 additions and 10 deletions
  1. 11 10
      hadoop-common-project/hadoop-common/pom.xml

+ 11 - 10
hadoop-common-project/hadoop-common/pom.xml

@@ -708,6 +708,17 @@
           </filesets>
           </filesets>
         </configuration>
         </configuration>
       </plugin>
       </plugin>
+
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-javadoc-plugin</artifactId>
+        <configuration>
+          <sourceFileExcludes>
+            <sourceFileExclude>**/FSProtos.java</sourceFileExclude>
+          </sourceFileExcludes>
+          <excludePackageNames>*.proto:*.tracing:*.protobuf</excludePackageNames>
+        </configuration>
+      </plugin>
     </plugins>
     </plugins>
   </build>
   </build>
 
 
@@ -1279,16 +1290,6 @@
               </execution>
               </execution>
              </executions>
              </executions>
           </plugin>
           </plugin>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-javadoc-plugin</artifactId>
-            <configuration>
-              <sourceFileExcludes>
-                <sourceFileExclude>**/FSProtos.java</sourceFileExclude>
-              </sourceFileExcludes>
-              <excludePackageNames>*.proto:*.tracing:*.protobuf</excludePackageNames>
-            </configuration>
-          </plugin>
         </plugins>
         </plugins>
       </build>
       </build>
     </profile>
     </profile>