From 4c542b8c867d3e1618379bdfd070dc79af272788 Mon Sep 17 00:00:00 2001 From: Romain Pelisse Date: Thu, 30 Aug 2007 17:59:08 +0000 Subject: [PATCH] Applied patch 1783047 - Maven 2 build Adding new files for Maven 2 build: * 'eclipse:clean' and 'eclipse:eclipse' works fine two. * 'site' is correctly build but only the xdocs part, it still missing all the stuff that jelly did in maven 1. * 'test' are failing, so are to disable to allow 'package' task to succeed. * 'package' and 'install' works pretty fine too. git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5494 51baf565-9d33-0410-a72c-fc3788e3496d --- pmd/pom.xml | 277 ++++++++++++++++++++++++++++++++++++ pmd/src/site/site.xml | 78 ++++++++++ pmd/src/site/xdoc/index.xml | 30 ++++ 3 files changed, 385 insertions(+) create mode 100644 pmd/pom.xml create mode 100644 pmd/src/site/site.xml create mode 100644 pmd/src/site/xdoc/index.xml diff --git a/pmd/pom.xml b/pmd/pom.xml new file mode 100644 index 0000000000..ad7a1b6afb --- /dev/null +++ b/pmd/pom.xml @@ -0,0 +1,277 @@ + + + 4.0.0 + pmd + pmd + PMD + 4.0 + http://pmd.sourceforge.net/ + + http://www.sourceforge.net/tracker/?group_id=56262 + + + + + +
tom@infoether.com
+
+
+
+
+ 2002 + + + PMD development + http://lists.sourceforge.net/lists/listinfo/pmd-devel + http://lists.sourceforge.net/lists/listinfo/pmd-devel + http://sourceforge.net/mailarchive/forum.php?forum=pmd-devel + + + + + tomcopeland + Tom Copeland + tom@infoether.com + InfoEther + + Developer + + + + dpeugh + David Dixon-Peugh + ddp@apache.org + Lockheed Martin Corporation + + Developer + + + + olemartin + Ole-Martin Mork + olemartin@users.sourceforge.net + Bekk Consulting + + Developer + + + + mikkey + Miguel Griffa + mikkey@users.sourceforge.net + + Developer + + + + phherlin + Philippe Herlin + phherlin@users.sourceforge.net + + Developer + + + + jigerjava + Jiger Patel + jigerjava@users.sourceforge.net + + Developer + + + + kubacki + Radim Kubacki + kubacki@users.sourceforge.net + + Developer + + + + tomslot + Tomasz Slota + tomslot@users.sourceforge.net + + Developer + + + + tomslot + Alan Ezust + ezust@users.sourceforge.net + + Developer + + + + nascif + Nascif Abousalh Neto + nascif@users.sourceforge.net + + Developer + + + + allancaplan + Allan Caplan + allancaplan@users.sourceforge.net + + Developer + + + + holobender + Sven Jacob + holobender@users.sourceforge.net + + Developer + + + + wfzelle + Wouter Zelle + wfzelle@users.sourceforge.net + + Developer + + + + hooperbloob + Brian Remedios + hooperbloob@users.sourceforge.net + + Developer + + + + xlv + Xavier Le Vourch + xlv@users.sourceforge.net + + Developer + + + + rgustav + Ryan Gustafson + rgustav@users.sourceforge.net + + Developer + + + + bluejohn + Johan Nagels + bluejohn@users.sourceforge.net + + Developer + + + + tkleiber + Torsten Kleiber + tkleiber@users.sourceforge.net + + Developer + + + + rpelisse + Romain Pelisse + rpelisse@users.sourceforge.net + + Developer + + + + + scm:svn:https://pmd.svn.sourceforge.net/svnroot/pmd/trunk/pmd + scm:svn:https://pmd.svn.sourceforge.net/svnroot/pmd/trunk/pmd + http://pmd.svn.sourceforge.net/viewvc/pmd/ + + + InfoEther + http://pmd.sourceforge.net/ + + + src + regress + + + ${basedir} + + rulesets/*.xml + rulesets/*.properties + etc/pmd-nicerhtml.xsl + + + + + + ${basedir}/regress/ + + **/*.xml + + + + + + maven-surefire-plugin + + once + true + + **/*Test.java + + + + + maven-compiler-plugin + + utf8 + 1.5 + 1.5 + + + + + + + ant + ant + 1.6 + + + jaxen + jaxen + 1.1 + + + asm + asm + 3.0 + + + junit + junit + 4.1 + + + + + + + + default + Default Repository + file:///home/groups/p/pm/pmd/ + + + default + Default Site + scp://pmd.sourceforge.net//home/groups/p/pm/pmd/htdocs + + +
+ + diff --git a/pmd/src/site/site.xml b/pmd/src/site/site.xml new file mode 100644 index 0000000000..3a70861bb8 --- /dev/null +++ b/pmd/src/site/site.xml @@ -0,0 +1,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pmd/src/site/xdoc/index.xml b/pmd/src/site/xdoc/index.xml new file mode 100644 index 0000000000..6468bd7bd7 --- /dev/null +++ b/pmd/src/site/xdoc/index.xml @@ -0,0 +1,30 @@ + + + + Welcome to PMD + Jeff Jensen + + +
+

PMD scans Java source code and looks for potential problems like:

+
    +
  • Possible bugs - empty try/catch/finally/switch statements
  • +
  • Dead code - unused local variables, parameters and private methods
  • +
  • Suboptimal code - wasteful String/StringBuffer usage
  • +
  • Overcomplicated expressions - unnecessary if statements, for loops that could be while loops
  • +
  • Duplicate code - copied/pasted code means copied/pasted bugs
  • +
+ +

Download

+

You can download everything from here, and you can get an overview of all the rules at the rulesets index page.

+ +

Integrations

+

PMD is integrated with JDeveloper, Eclipse, JEdit, JBuilder, BlueJ, CodeGuide, NetBeans/Sun Java Studio Enterprise/Creator, IntelliJ IDEA, TextPad, Maven, Ant, Gel, JCreator, and Emacs.

+ +

BlueJ

+

Welcome BlueJ users! Notes on installing the PMD extension for BlueJ are here.

+
+ +
+ +