diff --git a/README.en.md b/README.en.md deleted file mode 100644 index fd91273..0000000 --- a/README.en.md +++ /dev/null @@ -1,36 +0,0 @@ -# findbugs - -#### Description -A program which uses static analysis to look for bugs in java code. - -#### Software Architecture -Software architecture description - -#### Installation - -1. xxxx -2. xxxx -3. xxxx - -#### Instructions - -1. xxxx -2. xxxx -3. xxxx - -#### Contribution - -1. Fork the repository -2. Create Feat_xxx branch -3. Commit your code -4. Create Pull Request - - -#### Gitee Feature - -1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md -2. Gitee blog [blog.gitee.com](https://blog.gitee.com) -3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore) -4. The most valuable open source project [GVP](https://gitee.com/gvp) -5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help) -6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) diff --git a/README.md b/README.md deleted file mode 100644 index 5f1ee93..0000000 --- a/README.md +++ /dev/null @@ -1,37 +0,0 @@ -# findbugs - -#### 介绍 -A program which uses static analysis to look for bugs in java code. - -#### 软件架构 -软件架构说明 - - -#### 安装教程 - -1. xxxx -2. xxxx -3. xxxx - -#### 使用说明 - -1. xxxx -2. xxxx -3. xxxx - -#### 参与贡献 - -1. Fork 本仓库 -2. 新建 Feat_xxx 分支 -3. 提交代码 -4. 新建 Pull Request - - -#### 码云特技 - -1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md -2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com) -3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目 -4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目 -5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) -6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) diff --git a/annotations-3.0.0.pom b/annotations-3.0.0.pom new file mode 100644 index 0000000..59e950d --- /dev/null +++ b/annotations-3.0.0.pom @@ -0,0 +1,148 @@ + + 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/findbugs-3.0.1-source.zip b/findbugs-3.0.1-source.zip new file mode 100644 index 0000000..d207977 Binary files /dev/null and b/findbugs-3.0.1-source.zip differ diff --git a/findbugs-3.0.1.pom b/findbugs-3.0.1.pom new file mode 100644 index 0000000..65ba01a --- /dev/null +++ b/findbugs-3.0.1.pom @@ -0,0 +1,377 @@ + + 4.0.0 + + org.sonatype.oss + oss-parent + 7 + + + + 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 new file mode 100644 index 0000000..265788b --- /dev/null +++ b/findbugs-ant @@ -0,0 +1,3 @@ +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 new file mode 100644 index 0000000..19f4f3f --- /dev/null +++ b/findbugs-ant-3.0.0.pom @@ -0,0 +1,159 @@ + + 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-build.patch b/findbugs-build.patch new file mode 100644 index 0000000..6e62d91 --- /dev/null +++ b/findbugs-build.patch @@ -0,0 +1,102 @@ +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 new file mode 100644 index 0000000..24e0f01 --- /dev/null +++ b/findbugs-dom4j.patch @@ -0,0 +1,25 @@ +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-manual.patch b/findbugs-manual.patch new file mode 100644 index 0000000..337acb8 --- /dev/null +++ b/findbugs-manual.patch @@ -0,0 +1,49 @@ +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 ++ + +- ++ ++ + +- +- +- +- +- +- ++ + +- ++ ++ + + +