From 5e10e72c986812a03e38961e8c30f45cfc50fbdb Mon Sep 17 00:00:00 2001 From: Richard Fearn Date: Jul 03 2021 11:18:31 +0000 Subject: Retired because FindBugs has been abandoned since 2016 and superseded by SpotBugs --- diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 62403b2..0000000 --- a/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -findbugs-1.3.9-source.zip -/findbugs-2.0.2-source.zip -/noUpdateChecks-plugin-20131026svn14849.tgz -/findbugs-2.0.3-source.zip -/findbugs-3.0.0-source.zip -/noUpdateChecks-plugin-20140707gitcce19ac.tgz -/findbugs-3.0.1-source.zip diff --git a/annotations-3.0.0.pom b/annotations-3.0.0.pom deleted file mode 100644 index 59e950d..0000000 --- a/annotations-3.0.0.pom +++ /dev/null @@ -1,148 +0,0 @@ - - 4.0.0 - com.google.code.findbugs - annotations - 3.0.0 - jar - http://findbugs.sourceforge.net/ - FindBugs-Annotations - Annotation supports the FindBugs tool - - - GNU Lesser Public License - http://www.gnu.org/licenses/lgpl.html - repo - - - - scm:git:https://code.google.com/p/findbugs/ - scm:git:https://code.google.com/p/findbugs/ - https://code.google.com/p/findbugs/ - - - - - bp - Bill Pugh - pugh at cs.umd.edu - http://www.cs.umd.edu/~pugh/ - - Project Lead - Primary Developer - - -5 - - - al - Andrey Loskutov - Loskutov@gmx.de - http://andrei.gmxhome.de/privat.html - - Eclipse plugin - - +1 - - - bp - Keith Lea - - http://keithlea.com/ - - web cloud - - -5 - - - - - Garvin LeClaire - garvin.leclaire@gmail.com - - - Maven - - -5 - - - David H. Hovemeyer - dhovemey@ycp.edu - http://goose.ycp.edu/~dhovemey/ - - project founder - - -5 - - - Nay Ayewah - - - - - - -5 - - - Ben Langmead - - - - - - -5 - - - Tomas Pollak - - - - Eclipse plugin tests - - -5 - - - Phil Crosby - - - - - - -5 - - - Peter Friese - - - - Eclipse plugin - - -5 - - - Dave Brosius - - - - - - -5 - - - Brian Goetz - - - - - - -5 - - - Rohan Lloyd - - - - - - -5 - - - diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..9505bea --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Retired because FindBugs has been abandoned since 2016 and superseded by SpotBugs diff --git a/findbugs-3.0.1.pom b/findbugs-3.0.1.pom deleted file mode 100644 index 232da34..0000000 --- a/findbugs-3.0.1.pom +++ /dev/null @@ -1,371 +0,0 @@ - - 4.0.0 - - com.google.code.findbugs - findbugs - 3.0.1 - jar - - http://findbugs.sourceforge.net/ - FindBugs-Project - Findbugs: Because it's easy! - 2003 - - - GNU Lesser Public License - http://www.gnu.org/licenses/lgpl.html - repo - - - - - 3.0 - - - - - scm:git:http://code.google.com/p/findbugs/ - scm:git:https://code.google.com/p/findbugs/ - https://code.google.com/p/findbugs/ - - - - - bp - Bill Pugh - pugh at cs.umd.edu - http://www.cs.umd.edu/~pugh/ - - Project Lead - Primary Developer - - -5 - - - al - Andrey Loskutov - Loskutov@gmx.de - http://andrei.gmxhome.de/privat.html - - Eclipse plugin - - +1 - - - bp - Keith Lea - - http://keithlea.com/ - - web cloud - - -5 - - - - - Garvin LeClaire - gleclaire@codehaus.org - http://gdleclaire.blogspot.com - - Maven - - -5 - - - David H. Hovemeyer - dhovemey@ycp.edu - http://goose.ycp.edu/~dhovemey/ - - project founder - - -5 - - - Nay Ayewah - - - - - - -5 - - - Ben Langmead - - - - - - -5 - - - Tomas Pollak - - - - Eclipse plugin tests - - -5 - - - Phil Crosby - - - - - - -5 - - - Peter Friese - - - - Eclipse plugin - - -5 - - - Dave Brosius - - - - - - -5 - - - Brian Goetz - - - - - - -5 - - - Rohan Lloyd - - - - - - -5 - - - Tagir Valeev - lany@ngs.ru - - - - - +6 - - - - - 5.0.2 - 4.11 - - - - - net.jcip - jcip-annotations - 1.0 - - - com.google.code.findbugs - jsr305 - 2.0.1 - - - com.google.code.findbugs - bcel-findbugs - 6.0 - - - com.google.code.findbugs - jFormatString - 2.0.1 - - - dom4j - dom4j - 1.6.1 - - - org.apache.ant - ant - 1.7.1 - provided - - - org.ow2.asm - asm-debug-all - ${asmVersion} - - - org.ow2.asm - asm-commons - ${asmVersion} - - - commons-lang - commons-lang - 2.6 - - - com.apple - AppleJavaExtensions - 1.4 - - - junit - junit - ${junitVersion} - test - - - jaxen - jaxen - 1.1.6 - - - icu4j - com.ibm.icu - - - - - - ${basedir}/src/java - ${basedir}/src/junit - - - ${basedir}/etc - - *.xsd - bugrank.txt - findbugs.xml - messages*.xml - - - - ${basedir}/src/xsl - - *.xsl - - - - ${basedir}/src/antTask - - **/*.xsl - **/*.properties - **/*.db - **/*.png - **/*.html - - - - ${basedir}/src/gui - - **/*.xsl - **/*.properties - **/*.db - **/*.png - **/*.html - - - - ${basedir}/src/java - - **/*.xsl - **/*.properties - **/*.db - **/*.png - **/*.html - - - - - - org.codehaus.mojo - build-helper-maven-plugin - 1.9.1 - - - generate-sources - add-source - - - src/antTask - src/tools - src/gui - - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.9.1 - - - org.apache.maven.plugins - maven-compiler-plugin - 3.0 - - 1.7 - 1.7 - - **/junit/** - **/infonodeJava/** - **/obsolete/** - - - **/architecture/** - **/cloud/** - **/DetectorsTest.java - - - - - org.apache.maven.plugins - maven-jar-plugin - 2.4 - - - ${basedir}/etc/MANIFEST-findbugs.MF - - - - - - - - - deploy - - - - org.apache.maven.plugins - maven-gpg-plugin - 1.4 - - - sign-artifacts - install - - sign - - - - - - - - - diff --git a/findbugs-ant b/findbugs-ant deleted file mode 100644 index 265788b..0000000 --- a/findbugs-ant +++ /dev/null @@ -1,3 +0,0 @@ -findbugs ant/ant-findbugs apache-commons-lang dom4j findbugs-bcel jaxen -jcip-annotations jFormatString jsr-305 junit objectweb-asm3/asm -objectweb-asm3/asm-commons objectweb-asm3/asm-tree diff --git a/findbugs-ant-3.0.0.pom b/findbugs-ant-3.0.0.pom deleted file mode 100644 index 19f4f3f..0000000 --- a/findbugs-ant-3.0.0.pom +++ /dev/null @@ -1,159 +0,0 @@ - - 4.0.0 - com.google.code.findbugs - findbugs-ant - 3.0.0 - jar - http://findbugs.sourceforge.net/ - FindBugs-AntTask - AntTask to run Findbugs - - - - GNU Lesser Public License - http://www.gnu.org/licenses/lgpl.html - repo - - - - - scm:git:http://code.google.com/p/findbugs/ - scm:git:https://code.google.com/p/findbugs/ - https://code.google.com/p/findbugs/ - - - - - bp - Bill Pugh - pugh at cs.umd.edu - http://www.cs.umd.edu/~pugh/ - - Project Lead - Primary Developer - - -5 - - - al - Andrey Loskutov - Loskutov@gmx.de - http://andrei.gmxhome.de/privat.html - - Eclipse plugin - - +1 - - - bp - Keith Lea - - http://keithlea.com/ - - web cloud - - -5 - - - - - Garvin LeClaire - garvin.leclaire@gmail.com - - - Maven - - -5 - - - David H. Hovemeyer - dhovemey@ycp.edu - http://goose.ycp.edu/~dhovemey/ - - project founder - - -5 - - - Nay Ayewah - - - - - - -5 - - - Ben Langmead - - - - - - -5 - - - Tomas Pollak - - - - Eclipse plugin tests - - -5 - - - Phil Crosby - - - - - - -5 - - - Peter Friese - - - - Eclipse plugin - - -5 - - - Dave Brosius - - - - - - -5 - - - Brian Goetz - - - - - - -5 - - - Rohan Lloyd - - - - - - -5 - - - - - - com.google.code.findbugs - findbugs - 3.0.0 - - - - diff --git a/findbugs-ant-task-classpath.patch b/findbugs-ant-task-classpath.patch deleted file mode 100644 index 64a49d2..0000000 --- a/findbugs-ant-task-classpath.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff --git a/src/antTask/edu/umd/cs/findbugs/anttask/AbstractFindBugsTask.java b/src/antTask/edu/umd/cs/findbugs/anttask/AbstractFindBugsTask.java -index 70af8ef..4919d09 100644 ---- a/src/antTask/edu/umd/cs/findbugs/anttask/AbstractFindBugsTask.java -+++ b/src/antTask/edu/umd/cs/findbugs/anttask/AbstractFindBugsTask.java -@@ -28,6 +28,7 @@ import org.apache.tools.ant.BuildException; - import org.apache.tools.ant.Task; - import org.apache.tools.ant.taskdefs.Java; - import org.apache.tools.ant.types.Path; -+import org.apache.tools.ant.types.FileSet; - import org.apache.tools.ant.types.Reference; - - /** -@@ -311,7 +312,11 @@ public abstract class AbstractFindBugsTask extends Task { - File findbugsLibFindBugs = new File(findbugsLib, "findbugs.jar"); - // log("executing using home dir [" + homeDir + "]"); - if (findbugsLibFindBugs.exists()) { -- findbugsEngine.setClasspath(new Path(getProject(), findbugsLibFindBugs.getPath())); -+ FileSet findbugsLibFileSet = new FileSet(); -+ findbugsLibFileSet.setProject(getProject()); -+ findbugsLibFileSet.setDir(findbugsLib); -+ findbugsLibFileSet.setIncludes("*.jar"); -+ findbugsEngine.createClasspath().addFileset(findbugsLibFileSet); - } else { - throw new IllegalArgumentException("Can't find findbugs.jar in " + findbugsLib); - } diff --git a/findbugs-build.patch b/findbugs-build.patch deleted file mode 100644 index 6e62d91..0000000 --- a/findbugs-build.patch +++ /dev/null @@ -1,102 +0,0 @@ -diff --git a/build.xml b/build.xml -index 698b91f..95a8789 100644 ---- a/build.xml -+++ b/build.xml -@@ -18,6 +18,7 @@ - - - -+ - - - -@@ -59,13 +60,24 @@ - - - -- -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ - - - - - -- -+ - - - -@@ -122,13 +134,6 @@ - - - -- Requires JDK 7.x (not 8!), using: ${ant.java.version} -- -- -- -- -- -- - - - - - -- -- - - - -@@ -634,25 +637,13 @@ - - - -- -- -- -- -- -- -- -- Got git revision ${gitrnum} -- -- -- -- -- ${gitrnum} -+ - - -- -+ - - - -diff --git a/design/architecture/Makefile b/design/architecture/Makefile -index 8765025..0fc7869 100644 ---- a/design/architecture/Makefile -+++ b/design/architecture/Makefile -@@ -4,6 +4,7 @@ PDFS = $(TEX_SRCS:.tex=.pdf) - %.pdf : %.tex - pdflatex $* - pdflatex $* -+ pdflatex $* - - all : $(PDFS) - diff --git a/findbugs-dom4j.patch b/findbugs-dom4j.patch deleted file mode 100644 index 24e0f01..0000000 --- a/findbugs-dom4j.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 5a337b7fd291f42802ffe001408436df0a6318ce Mon Sep 17 00:00:00 2001 -From: Michael Simacek -Date: Fri, 31 Mar 2017 12:28:29 +0200 -Subject: [PATCH] Port to dom4j 2.0 - ---- - src/java/edu/umd/cs/findbugs/xml/XMLUtil.java | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/java/edu/umd/cs/findbugs/xml/XMLUtil.java b/src/java/edu/umd/cs/findbugs/xml/XMLUtil.java -index 0fa40f9..0baead5 100644 ---- a/src/java/edu/umd/cs/findbugs/xml/XMLUtil.java -+++ b/src/java/edu/umd/cs/findbugs/xml/XMLUtil.java -@@ -30,7 +30,7 @@ public class XMLUtil { - - @SuppressWarnings("unchecked") - public static List selectNodes(Node node, String arg0) { -- return node.selectNodes(arg0); -+ return (List) node.selectNodes(arg0); - } - - } --- -2.9.3 - diff --git a/findbugs-fedora.patch b/findbugs-fedora.patch deleted file mode 100644 index e71080e..0000000 --- a/findbugs-fedora.patch +++ /dev/null @@ -1,135 +0,0 @@ -diff --git a/etc/MANIFEST-findbugs.MF b/etc/MANIFEST-findbugs.MF -index b29d6f8..9d885be 100644 ---- a/etc/MANIFEST-findbugs.MF -+++ b/etc/MANIFEST-findbugs.MF -@@ -1,3 +1 @@ - Manifest-Version: 1.0 --Main-Class: edu.umd.cs.findbugs.LaunchAppropriateUI --Class-Path: bcel-6.0-SNAPSHOT.jar dom4j-1.6.1.jar jaxen-1.1.6.jar asm-debug-all-5.0.2.jar jsr305.jar jFormatString.jar commons-lang-2.6.jar -diff --git a/etc/script.properties b/etc/script.properties -index f595a9a..b94eb5c 100644 ---- a/etc/script.properties -+++ b/etc/script.properties -@@ -3,48 +3,8 @@ - # variable. Also sets the fb_osname shell variable, - # as the output of uname. - script.get.fbhome=\ -- program="$0"\n\ -- \n\ -- # Follow symlinks until we get to the actual file.\n\ -- while [ -h "$program" ]; do\n\ -- \tlink=`ls -ld "$program"`\n\ -- \tlink=`expr "$link" : '.*-> \\(.*\\)'`\n\ -- \tif [ "`expr "$link" : '/.*'`" = 0 ]; then\n\ -- \t\t# Relative\n\ -- \t\tdir=`dirname "$program"`\n\ -- \t\tprogram="$dir/$link"\n\ -- \telse\n\ -- \t\t# Absolute\n\ -- \t\tprogram="$link"\n\ -- \tfi\n\ -- done\n\ -- \n\ -- # Assume findbugs home directory is the parent\n\ -- # of the directory containing the script (which should\n\ -- # normally be "$findbugs_home/bin").\n\ -- dir=`dirname "$program"`\n\ -- findbugs_home="$dir/.."\n\ -- \n\ -- # Handle FHS-compliant installations (e.g., Fink)\n\ -- if [ -d "$findbugs_home/share/findbugs" ]; then\n\ -- \tfindbugs_home="$findbugs_home/share/findbugs"\n\ -- fi\n\ -- \n\ -- # Make absolute\n\ -- findbugs_home=`cd "$findbugs_home" && pwd`\n\ -- \n\ -- fb_pathsep=':'\n\ -- \n\ -- # Handle cygwin, courtesy of Peter D. Stout\n\ -+ findbugs_home=/usr/share/findbugs\n\ - fb_osname=`uname`\n\ -- if [ `expr "$fb_osname" : CYGWIN` -ne 0 ]; then\n\ -- \tfindbugs_home=`cygpath --mixed "$findbugs_home"`\n\ -- \tfb_pathsep=';'\n\ -- fi\n\ -- # Handle MKS, courtesy of Kelly O'Hair\n\ -- if [ "${fb_osname}" = "Windows_NT" ]; then\n\ -- \tfb_pathsep=';'\n\ -- fi\n\ - \n\ - if [ ! -d "$findbugs_home" ]; then\n\ - \techo "The path $findbugs_home,"\n\ -@@ -88,16 +48,17 @@ script.set.default.java=\ - - # Fragment to execute java, using the arguments stored - # in the shell's $@ variable (and/or in the $fb_appargs variable). --# Unless fb_appjar is specified, assumes the class to be executed --# is in $findbugs_home/lib/findbugs.jar. - script.wrap.java=\ - fb_javacmd=\${fb_javacmd:-"java"}\n\ - fb_maxheap=\${fb_maxheap:-"-Xmx768m"}\n\ -- fb_appjar=\${fb_appjar:-"$findbugs_home/lib/findbugs.jar"}\n\ -+ \n\ -+ fb_classpath=\$(build-classpath findbugs findbugs-bcel dom4j jaxen \\\n\ -+ \tobjectweb-asm/asm-all jsr-305 jFormatString apache-commons-lang)\n\ -+ \n\ - set -f\n\ - #echo command: \\\n\ - exec "$fb_javacmd" \\\n\ -- \t-classpath "$fb_appjar$fb_pathsep$CLASSPATH" \\\n\ -+ \t-classpath "$fb_classpath" \\\n\ - \t-Dfindbugs.home="$findbugs_home"\\\n\ - \t$fb_maxheap $fb_jvmargs $fb_mainclass \${@:+"$@"} $fb_appargs - -diff --git a/src/scripts/standard/fb b/src/scripts/standard/fb -index 1f42652..d8fa084 100644 ---- a/src/scripts/standard/fb -+++ b/src/scripts/standard/fb -@@ -9,8 +9,6 @@ - @SET_DEFAULT_JAVA@ - - --fb_appjar="$findbugs_home/lib/findbugs.jar" -- - ShowHelpAndExit() { - fb_mainclass="edu.umd.cs.findbugs.ShowHelp" - @WRAP_JAVA@ -diff --git a/src/scripts/standard/findbugs b/src/scripts/standard/findbugs -index d5bd992..779a61a 100755 ---- a/src/scripts/standard/findbugs -+++ b/src/scripts/standard/findbugs -@@ -8,8 +8,6 @@ - - @SET_DEFAULT_JAVA@ - --fb_appjar="$findbugs_home/lib/findbugs.jar" -- - ShowHelpAndExit() { - fb_mainclass="edu.umd.cs.findbugs.ShowHelp" - @WRAP_JAVA@ -diff --git a/src/scripts/standard/findbugs2 b/src/scripts/standard/findbugs2 -index 36c054b..d250e79 100644 ---- a/src/scripts/standard/findbugs2 -+++ b/src/scripts/standard/findbugs2 -@@ -109,13 +109,18 @@ if [ $fb_osname = "Darwin" ]; then - -Dapple.laf.useScreenMenuBar=true" - fi - -+fb_classpath=$(build-classpath findbugs findbugs-bcel dom4j jaxen \ -+ objectweb-asm/asm-all jsr-305 jFormatString apache-commons-lang) -+ -+fb_mainclass=edu.umd.cs.findbugs.LaunchAppropriateUI -+ - # - # Launch JVM - # - exec "$fb_javacmd" \ -- -classpath "$fb_appjar$fb_pathsep$CLASSPATH" \ -+ -classpath "$fb_classpath" \ - -Dfindbugs.home="$findbugs_home" \ - $jvm_debug $jvm_maxheap $jvm_ea $jvm_conservespace $jvm_user_props \ - -Dfindbugs.launchUI=$fb_launchui \ -- -jar $findbugs_home/lib/findbugs.jar \ -+ $fb_mainclass \ - ${@:+"$@"} diff --git a/findbugs-java11.patch b/findbugs-java11.patch deleted file mode 100644 index aba7a08..0000000 --- a/findbugs-java11.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/src/gui/edu/umd/cs/findbugs/gui2/NewProjectWizard.java b/src/gui/edu/umd/cs/findbugs/gui2/NewProjectWizard.java -index c6d06cb..3873fe7 100644 ---- a/src/gui/edu/umd/cs/findbugs/gui2/NewProjectWizard.java -+++ b/src/gui/edu/umd/cs/findbugs/gui2/NewProjectWizard.java -@@ -201,7 +201,7 @@ public class NewProjectWizard extends FBDialog { - - wizardComponents[3] = cloudPanel; - @SuppressWarnings("unchecked") -- ListCellRenderer aRenderer = new CloudComboBoxRenderer(); -+ ListCellRenderer aRenderer = new CloudComboBoxRenderer(); - cloudSelector.setRenderer(aRenderer); - cloudSelector.addItem(null); - String cloudId = project.getCloudId(); diff --git a/findbugs-javadoc.patch b/findbugs-javadoc.patch deleted file mode 100644 index acda6c1..0000000 --- a/findbugs-javadoc.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/build.xml b/build.xml -index 0f48456..c4f695a 100644 ---- a/build.xml -+++ b/build.xml -@@ -1188,7 +1188,7 @@ - Windowtitle="FindBugs ${release.number} API" - bottom="<font size='-1'><a href='http://findbugs.sourceforge.net/' target='_parent'>FindBugs</a>&trade; is licenced under the LGPL. Copyright &copy; 2006 University of Maryland.</font>" - nodeprecated="false" nodeprecatedlist="false" noindex="false" nonavbar= "false" notree="false" -- sourcepath="src/java:src/gui:src/antTask" splitindex="true" use="true" version="true"> -+ sourcepath="src/java:src/gui:src/antTask" splitindex="true" use="true" version="true" additionalparam="-Xdoclint:none" failonerror="true"> - - - diff --git a/findbugs-manual.patch b/findbugs-manual.patch deleted file mode 100644 index 337acb8..0000000 --- a/findbugs-manual.patch +++ /dev/null @@ -1,49 +0,0 @@ -diff --git a/build.properties b/build.properties -index 27f21f8..82f65b1 100644 ---- a/build.properties -+++ b/build.properties -@@ -11,7 +11,7 @@ source.findbugs.jar = src/java/,\ - # Set this to the directory containing the DocBook Modular XSL Stylesheets - # from http://docbook.sourceforge.net/projects/xsl/ - --xsl.stylesheet.home =${local.software.home}/docbook-xsl-1.76.1 -+xsl.stylesheet.home =/usr/share/sgml/docbook/xsl-stylesheets - - # Set this to the directory containing the svnant Ant jars. These are - # needed for the srcdist target and to get the svn revision number -diff --git a/build.xml b/build.xml -index 95a8789..0f48456 100644 ---- a/build.xml -+++ b/build.xml -@@ -856,24 +856,16 @@ - --> - - Generating HTML version of manual -- Running saxon: ${saxon.home}/saxon.jar -- -- -- -- -- -- -+ Running xsltproc -+ - -- -+ -+ - -- -- -- -- -- -- -+ - -- -+ -+ - - -