You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sj...@apache.org on 2022/07/27 16:53:03 UTC
[maven-shared-utils] branch master updated: [MSHARED-1116] Drop findbugs-maven-plugin from configuration
This is an automated email from the ASF dual-hosted git repository.
sjaranowski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-utils.git
The following commit(s) were added to refs/heads/master by this push:
new b7694b1 [MSHARED-1116] Drop findbugs-maven-plugin from configuration
b7694b1 is described below
commit b7694b150db3bf77ed7823fcd55aa7187197dae9
Author: Slawomir Jaranowski <s....@gmail.com>
AuthorDate: Tue Jul 26 13:29:53 2022 +0200
[MSHARED-1116] Drop findbugs-maven-plugin from configuration
Not present in parent, no execution section, inactive
---
findbugs-exclude.xml | 83 ----------------------------------------------------
pom.xml | 7 -----
2 files changed, 90 deletions(-)
diff --git a/findbugs-exclude.xml b/findbugs-exclude.xml
deleted file mode 100755
index 0fc3f26..0000000
--- a/findbugs-exclude.xml
+++ /dev/null
@@ -1,83 +0,0 @@
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements. See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership. The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied. See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-<FindBugsFilter>
- <Match>
- <Class name="org.apache.maven.shared.utils.cli.CommandLineUtils.*"/>
- <Bug pattern="RUN_INVOKE_RUN"/>
- </Match>
- <Match>
- <Class name="org.apache.maven.shared.utils.io.WalkCollector"/>
- <Method name="directoryWalkStarting"/>
- <Bug pattern="URF_UNREAD_FIELD"/>
- </Match>
- <Match>
- <Class name="org.apache.maven.shared.utils.introspection.MethodMap"/>
- <Method name="getMostSpecific"/>
- <Bug pattern="SF_SWITCH_NO_DEFAULT"/>
- </Match>
- <Match>
- <Class name="org.apache.maven.shared.utils.xml.XmlStreamWriter"/>
- <Bug pattern="NM_SAME_SIMPLE_NAME_AS_SUPERCLASS"/>
- </Match>
- <Match>
- <Class name="org.apache.maven.shared.utils.ReaderFactory"/>
- <Method name="newPlatformReader"/>
- <Bug pattern="DM_DEFAULT_ENCODING"/>
- </Match>
- <Match>
- <Class name="org.apache.maven.shared.utils.WriterFactory"/>
- <Or>
- <Method name="newPlatformWriter" params="java.io.OutputStream" returns="java.io.Writer"/>
- <Method name="newPlatformWriter" params="java.io.File" returns="java.io.Writer"/>
- </Or>
- <Bug pattern="DM_DEFAULT_ENCODING"/>
- </Match>
- <Match>
- <Class name="org.apache.maven.shared.utils.io.FileUtils"/>
- <Or>
- <Method name="loadFile" params="java.io.File" returns="java.util.List"/>
- <Method name="copyFile" params="java.ioFile, java.io.File, java.lang.String,org.apache.maven.shared.utils.io.FileUtils.FilterWrapper\[\], boolean" returns="void"/>
- <Method name="copyFile" params=".*" returns="void"/>
- <Method name="fileAppend"/>
- <Method name="fileRead" params="java.io.File, java.lang.String" returns="java.lang.String"/>
- <Method name="fileWrite"/>
- <Method name="fileWriteArray" params="java.io.File, java.lang.String, java.lang.String[]" returns="void"/>
- </Or>
- <Bug pattern="DM_DEFAULT_ENCODING"/>
- </Match>
- <Match>
- <Class name="org.apache.maven.shared.utils.io.FileUtils"/>
- <Method name="deleteFile"/>
- <Bug pattern="DM_GC"/>
- </Match>
- <Match>
- <Class name="org.apache.maven.shared.utils.io.IOUtil"/>
- <Or>
- <Method name="copy" params="java.io.InputStream, java.io.Writer, int" returns="void"/>
- <Method name="copy" params="java.io.Reader, java.io.OutputStream, int" returns="void"/>
- <Method name="copy" params="java.lang.String, java.io.OutputStream, int" returns="void"/>
- </Or>
- <Bug pattern="DM_DEFAULT_ENCODING"/>
- </Match>
- <Match>
- <Class name="org.apache.maven.shared.utils.cli.StreamPumper"/>
- <Bug pattern="DM_DEFAULT_ENCODING"/>
- </Match>
-
-</FindBugsFilter>
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index f49935c..7d72691 100644
--- a/pom.xml
+++ b/pom.xml
@@ -132,13 +132,6 @@
</pluginManagement>
<plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>findbugs-maven-plugin</artifactId>
- <configuration>
- <excludeFilterFile>findbugs-exclude.xml</excludeFilterFile>
- </configuration>
- </plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>