You are viewing a plain text version of this content. The canonical link for it is here.
Posted to announce@maven.apache.org by Hervé Boutemy <hb...@apache.org> on 2010/05/04 22:08:30 UTC

[ANN] Maven PMD Plugin 2.5 Released

he Maven team is pleased to announce the release of the Maven PMD Plugin, 
version 2.5

The PMD plugin allows you to automatically run the PMD code analysis tool on 
your project's source code and generate a site report with its results. It 
also supports the separate Copy/Paste Detector tool (or CPD) distributed with 
PMD.

http://maven.apache.org/plugins/maven-pmd-plugin/

You should specify the version in your project's plugin configuration:

<plugin>
 <groupId>org.apache.maven.plugins</groupId>
 <artifactId>maven-pmd-plugin</artifactId>
 <version>2.5</version>
</plugin>

Release Notes - Maven 2.x PMD Plugin - Version 2.5

** Bug
    * [MPMD-73] - Report generated even when no input files present
    * [MPMD-82] - Output Non-HTML reports to proper site output directory
    * [MPMD-83] - Use proper file encoding for Non-HTML reports
    * [MPMD-91] - pmd does not report correct file name for unneccessary 
imports
    * [MPMD-93] - CPD writes XML report with wrong encoding
    * [MPMD-95] - <format>none</format> causes an error
    * [MPMD-96] - Invalid pom.xml generated due to stale version of PMD
    * [MPMD-98] - The plugin console output is inconsistent
    * [MPMD-99] - Report doesn't reflect the real PMD version used
    * [MPMD-104] - Invalid generated HTML reports
    * [MPMD-108] - maven-pmd-plugin does not use recent (5.0) version of PMD
    * [MPMD-110] - Wrong resolving ruleset resource for multi module project
    * [MPMD-116] - Methods Rule.start and Rule.end are not executed
    * [MPMD-119] - CPD generates no duplicates in HTML report with site plugin 
2.1
    * [MPMD-120] - Ruleset XML files containing non-ascii characters are 
corrupted when copied into target directory

** Improvement
    * [MPMD-85] - Excludes PMD/CPD reports for POM files with pom packaging
    * [MPMD-109] - Class name not printed in pmd:check output

** New Feature
    * [MPMD-87] - Provide a custom ruleset for Maven projects
    * [MPMD-111] - Add Swedish translation
    * [MPMD-113] - Pass the ignoreLiterals and ignoreIdentifiers properties of 
CPD

** Task
    * [MPMD-102] - Bump to Doxia 1.0
    * [MPMD-105] - Review the Doxia Sink calls
    * [MPMD-112] - Update to Maven Reporting Impl 2.0.4.3


** Wish
    * [MPMD-97] - Update to PMD 4.2.5

Enjoy,

-The Maven team