This is an automated email from the ASF dual-hosted git repository.
nanda pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git
The following commit(s) were added to refs/heads/master by this push:
new 238f232420 HDDS-11692. Skip spotbugs for modules with only generated
code. (#7428)
238f232420 is described below
commit 238f232420ad14b65e2a418d84663148a965e66a
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Sat Nov 16 03:41:15 2024 +0100
HDDS-11692. Skip spotbugs for modules with only generated code. (#7428)
---
hadoop-hdds/interface-admin/pom.xml | 9 +--------
hadoop-hdds/interface-client/pom.xml | 8 +-------
hadoop-hdds/interface-server/pom.xml | 8 +-------
hadoop-ozone/interface-client/pom.xml | 8 +-------
4 files changed, 4 insertions(+), 29 deletions(-)
diff --git a/hadoop-hdds/interface-admin/pom.xml
b/hadoop-hdds/interface-admin/pom.xml
index 422fb2048a..f3197dc896 100644
--- a/hadoop-hdds/interface-admin/pom.xml
+++ b/hadoop-hdds/interface-admin/pom.xml
@@ -31,6 +31,7 @@ https://maven.apache.org/xsd/maven-4.0.0.xsd">
<properties>
<maven.test.skip>true</maven.test.skip> <!-- no testable code in this
module -->
+ <spotbugs.skip>true</spotbugs.skip> <!-- only generated code in this
module -->
</properties>
<dependencies>
@@ -80,14 +81,6 @@ https://maven.apache.org/xsd/maven-4.0.0.xsd">
</execution>
</executions>
</plugin>
- <plugin>
- <groupId>com.github.spotbugs</groupId>
- <artifactId>spotbugs-maven-plugin</artifactId>
- <configuration>
-
<excludeFilterFile>${basedir}/dev-support/findbugsExcludeFile.xml</excludeFilterFile>
- </configuration>
- </plugin>
-
</plugins>
</build>
</project>
diff --git a/hadoop-hdds/interface-client/pom.xml
b/hadoop-hdds/interface-client/pom.xml
index 3c8c7cfc22..c23f631cf4 100644
--- a/hadoop-hdds/interface-client/pom.xml
+++ b/hadoop-hdds/interface-client/pom.xml
@@ -31,6 +31,7 @@ https://maven.apache.org/xsd/maven-4.0.0.xsd">
<properties>
<maven.test.skip>true</maven.test.skip> <!-- no testable code in this
module -->
+ <spotbugs.skip>true</spotbugs.skip> <!-- only generated code in this
module -->
</properties>
<dependencies>
@@ -176,13 +177,6 @@ https://maven.apache.org/xsd/maven-4.0.0.xsd">
</execution>
</executions>
</plugin>
- <plugin>
- <groupId>com.github.spotbugs</groupId>
- <artifactId>spotbugs-maven-plugin</artifactId>
- <configuration>
-
<excludeFilterFile>${basedir}/dev-support/findbugsExcludeFile.xml</excludeFilterFile>
- </configuration>
- </plugin>
</plugins>
</build>
</project>
diff --git a/hadoop-hdds/interface-server/pom.xml
b/hadoop-hdds/interface-server/pom.xml
index 6a6f2a6b38..47bde5a0bc 100644
--- a/hadoop-hdds/interface-server/pom.xml
+++ b/hadoop-hdds/interface-server/pom.xml
@@ -31,6 +31,7 @@ https://maven.apache.org/xsd/maven-4.0.0.xsd">
<properties>
<maven.test.skip>true</maven.test.skip> <!-- no testable code in this
module -->
+ <spotbugs.skip>true</spotbugs.skip> <!-- only generated code in this
module -->
</properties>
<dependencies>
@@ -142,13 +143,6 @@ https://maven.apache.org/xsd/maven-4.0.0.xsd">
</execution>
</executions>
</plugin>
- <plugin>
- <groupId>com.github.spotbugs</groupId>
- <artifactId>spotbugs-maven-plugin</artifactId>
- <configuration>
-
<excludeFilterFile>${basedir}/dev-support/findbugsExcludeFile.xml</excludeFilterFile>
- </configuration>
- </plugin>
</plugins>
</build>
</project>
diff --git a/hadoop-ozone/interface-client/pom.xml
b/hadoop-ozone/interface-client/pom.xml
index 4db4dbd5ad..7e9383553c 100644
--- a/hadoop-ozone/interface-client/pom.xml
+++ b/hadoop-ozone/interface-client/pom.xml
@@ -30,6 +30,7 @@ https://maven.apache.org/xsd/maven-4.0.0.xsd">
<properties>
<maven.test.skip>true</maven.test.skip> <!-- no tests in this module so
far -->
+ <spotbugs.skip>true</spotbugs.skip> <!-- only generated code in this
module -->
</properties>
<dependencies>
@@ -187,13 +188,6 @@ https://maven.apache.org/xsd/maven-4.0.0.xsd">
</execution>
</executions>
</plugin>
- <plugin>
- <groupId>com.github.spotbugs</groupId>
- <artifactId>spotbugs-maven-plugin</artifactId>
- <configuration>
-
<excludeFilterFile>${basedir}/dev-support/findbugsExcludeFile.xml</excludeFilterFile>
- </configuration>
- </plugin>
</plugins>
</build>
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]