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:26:52 UTC

[maven-shared-utils] branch MSHARED-1116 created (now b6c4990)

This is an automated email from the ASF dual-hosted git repository.

sjaranowski pushed a change to branch MSHARED-1116
in repository https://gitbox.apache.org/repos/asf/maven-shared-utils.git


      at b6c4990  [MSHARED-1116] Drop findbugs-maven-plugin from configuration

This branch includes the following new commits:

     new b6c4990  [MSHARED-1116] Drop findbugs-maven-plugin from configuration

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[maven-shared-utils] 01/01: [MSHARED-1116] Drop findbugs-maven-plugin from configuration

Posted by sj...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

sjaranowski pushed a commit to branch MSHARED-1116
in repository https://gitbox.apache.org/repos/asf/maven-shared-utils.git

commit b6c4990156d5581c83b3f326654864225401bbeb
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 bcae7c1..735c40b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -120,13 +120,6 @@
 
   <build>
     <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>