pmd: Prepare pmd release 5.0.0

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/5.0.x@7665 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Andreas Dangel 2012-05-01 07:38:38 +00:00
parent eaf1385595
commit 70347aedd5
3 changed files with 42 additions and 57 deletions

View File

@ -1,42 +1,11 @@
???? ??, 2012 - 5.0:
TODO - Release blockers - Must implement before this release can be finally finished
CODE:
o PropertyDescriptor final tasks:
- Find some way to have them appear in the online documentation for the rules
that have them. Ideally we want to ensure we define them in one place only.
- Report renderers now inherit from PropertySource so we should migrate the
old-style property references to use the new style. Ensure we remain
compatible with the online arguments that get passed in.
o Need to refactor the test framework to more readily support for multiple
Languages (too Java-centric at the moment). Then, need start adding tests
for the new XML language and other new languages.
o Need the modify RuleViolation, RuleViolationFactory, and Rule base classes
to recognize the difference between violations which require a Node, and
those without. This is to make certain that Rules which require and do not
pass, will die with an error because they are buggy and need to be fixed.
DOCUMENTATION:
o Expand documentation examples which demonstrate use of new RuleSetReferenceId
capabilities, specifically interal RuleSet reference in a RuleSet XML, and use
of a Rule reference in places not previously possible (e.g. CMD and Ant).
o Fully document the changed/new command line and Ant configuration options.
o Need to enhance documentation to cover Global and Language specific
function namespaces required for XPath 2.0 use (e.g. pmd:matches
and pmd-java:typeof).
May, 1, 2012 - 5.0.0:
Fixed bug 3470274: Using Label for lines in XMLRenderer
Fixed bug 3175710: NPE in InsufficientStringBufferDeclaration
CPD:
- Exit with status code 4 when CPD detects code duplication (Patch ID: 3497021)
---
January 31, 2012 - 5.0-alpha:
This version of PMD breaks API compatibility with prior versions of PMD, as well
@ -458,7 +427,7 @@ The RuleSet XML Schema namespace is now: http://pmd.sourceforge.net/ruleset/2.0.
The RuleSet XML Schema is located in the source at: etc/ruleset_2_0_0.xsd
The RuleSet DTD is located in the source at: etc/ruleset_2_0_0.dtd
Improved include/exclude pattern matching performance for ends-with type patterns.
Modify (and hopefully fixed) CPD algorithm thanks to a patch from Juan Jesús García de Soria.
Modify (and hopefully fixed) CPD algorithm thanks to a patch from Juan Jesús García de Soria.
Fixed character reference in xml report - thanks to Seko
Enhanced SuspiciousEqualsMethodName rule - thanks to Andy Throgmorton
Add a script to launch CPDGUI on Unix system - thanks to Tom Wheeler
@ -522,7 +491,7 @@ Fixed bug 2835074 - False -: DoubleCheckedLocking with reversed null check
Fixed bug 2826119 - False +: DoubleCheckedLocking warning with volatile field
Fixed bug 2904832 - Type resolution not working for ASTType when using an inner class
Modify (and hopefully fixed) CPD algorithm thanks to a patch from Juan Jesús García de Soria.
Modify (and hopefully fixed) CPD algorithm thanks to a patch from Juan Jesús García de Soria.
Correct -benchmark reporting of Rule visits via the RuleChain
Fix issue with Type Resolution incorrectly handling of Classes with same name as a java.lang Class.
The JSP/JSF parser can now parse Unicode input.

View File

@ -21,12 +21,8 @@
<item href="http://sourceforge.net" name="Hosted by SourceForge"/>
</links>
<menu name="Overview">
<item href="/index.html" name="Download PMD 5.0"/>
<item href="http://pmd.adabolo.de/job/pmd-trunk/changes" name="What's new in PMD 5.0"/>
<!--
<item name="Download PMD 5.0" href="http://sourceforge.net/projects/pmd/files/pmd/5.0/pmd-bin-5.0.zip/download" />
<item name="What's new in PMD 5.0" href="https://sourceforge.net/projects/pmd/files/pmd/5.0/" />
-->
<item name="Download PMD 5.0.0" href="http://sourceforge.net/projects/pmd/files/pmd/5.0.0/pmd-bin-5.0.0.zip/download" />
<item name="What's new in PMD 5.0.0" href="https://sourceforge.net/projects/pmd/files/pmd/5.0.0/" />
<item href="/news.html" name="PMD in the news"/>
<item href="/products.html" name="PMD-related products and books"/>
<item href="/bestpractices.html" name="Best practices"/>

View File

@ -14,23 +14,43 @@
<li>Overcomplicated expressions - unnecessary if statements, for loops that could be while loops</li>
<li>Duplicate code - copied/pasted code means copied/pasted bugs</li>
</ul>
<h3>Download (early access)</h3>
<p>A new snapshot of the 5.0 release is generated daily using a <a href="http://jenkins-ci.org/">Jenkins</a> continuous integration server.</p>
<p>Source and binary packages are available at
<a href="http://pmd.adabolo.de/job/pmd-trunk/">http://pmd.adabolo.de/job/pmd-trunk/</a>
in the artifacts section in the center of the page.</p>
<p>Maven packages are also generated regularly and uploaded to the <a href="http://pmd.sourceforge.net/snapshot/maven2">snapshot repository</a> and
to <a href="https://oss.sonatype.org/content/repositories/snapshots/net/sourceforge/pmd/pmd/">Sonatypes OSS snapshot repository</a>.</p>
<p>You can get an overview of all the rules at the <a href="rules/index.html">rulesets index</a> page.</p>
<h3>Integrations</h3>
<p>PMD is <a href="integrations.html">integrated</a> with JDeveloper, Eclipse, JEdit, JBuilder, BlueJ, CodeGuide, NetBeans/Sun Java Studio Enterprise/Creator,
IntelliJ IDEA, TextPad, Maven, Ant, Gel, JCreator, and Emacs.</p>
<p>You can <b><a href="http://sourceforge.net/projects/pmd/files/">download everything from here</a></b>, and you can get an overview of all the rules at the <a href="rules/index.html">rulesets index</a> page.</p>
<p>PMD is <a href="integrations.html">integrated</a> with JDeveloper, Eclipse, JEdit, JBuilder, BlueJ, CodeGuide, NetBeans/Sun Java Studio Enterprise/Creator, IntelliJ IDEA, TextPad, Maven, Ant, Gel, JCreator, and Emacs.</p>
<h3>Recent releases</h3>
<p><ul>
<li><p>2012-05-01 PMD 5.0.0: major version supporting additional languages and new rules (<a href="https://sourceforge.net/projects/pmd/files/pmd/5.0.0/">Changelog</a>)
<ul>
<li>Additional languages support (Java, JavaScript, XML, XSL, JSP)</li>
<li>Many bug fixes and new rules</li>
<li>Internal refactoring which breaks compatibility, but adds generic support for additional languages.</li>
<li>Maven coordinates have been changed: <a href="http://search.maven.org/#search|ga|1|g%3A%22net.sourceforge.pmd%22%20a%3A%22pmd%22">net.sourceforge.pmd:pmd</a></li>
<li>For details, see the <a href="https://sourceforge.net/projects/pmd/files/pmd/5.0.0/">Changelog</a>.</li>
</ul></p>
<p><em>Note: PMD 5 is not backwards compatible with PMD 4.x.</em></p>
</li>
<li><p>2011-11-04 PMD 4.3 (<a href="https://sourceforge.net/projects/pmd/files/pmd/4.3/">download</a>):
<ul>
<li>Add support for Java 7 grammer - thanks to Dinesh Bolkensteyn and <a href="http://www.sonarsource.com/">SonarSource</a> ;</li>
<li>Add C# support for CPD - thanks to Florian Bauer ;</li>
<li>And, as usual, a bunch of bug fixes and a couple new rules (DontCallThreadRun and GuardDebugLogging) (See <a href="https://sourceforge.net/projects/pmd/files/pmd/4.3/">Changelog</a>).</li>
</ul>
<em>Note: default JDK setting for PMD is now Java 7.</em>
</p>
</li>
<li>2011-09-14 PMD 4.2.6: bug fixes, new rules (<a href="http://sourceforge.net/projects/pmd/files/pmd/4.2.6/pmd-bin-4.2.6.zip/download">Changelog</a>)</li>
<li>2009-02-08 PMD 4.2.5: bug fixes, new rule, new Android ruleset (<a href="http://sourceforge.net/project/shownotes.php?release_id=659603&amp;group_id=56262">Changelog</a>)</li>
<li>2008-10-12 PMD 4.2.4: bug fixes (<a href="http://sourceforge.net/project/shownotes.php?release_id=632850&amp;group_id=56262">Changelog</a>)</li>
<li>2008-08-31 PMD 4.2.3: yet more bug fixes (<a href="http://sourceforge.net/project/shownotes.php?release_id=623284&amp;group_id=56262">Changelog</a>)</li>
<li>2008-05-20 PMD 4.2.2: more bug fixes on the 4.2 branch (<a href="http://sourceforge.net/project/shownotes.php?release_id=600660&amp;group_id=56262">Changelog</a>)</li>
<li>2008-04-11 PMD 4.2.1: bug fixes (<a href="http://sourceforge.net/project/shownotes.php?release_id=591563&amp;group_id=56262">Changelog</a>)</li>
</ul></p>
<h3>Future releases</h3>
<p>The next development version will be PMD 5.1. We will release other 5.0.x versions
with bug fixes if needed.</p>
<p>A <a href="http://pmd.sourceforge.net/snapshot">snapshot</a> of the web site for the new version is generated daily by our continuous integration server. Early access versions can also be downloaded from there.</p>
</section>
</body>
</document>