[
https://jira.codehaus.org/browse/MPMD-108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=317012#comment-317012
]
Nicolas Roy edited comment on MPMD-108 at 1/9/13 8:27 AM:
----------------------------------------------------------
It would be nice to re-open this ticket, now that PMD 5.0.1 has been released.
This would solve a version problem that may become quite common when developing
with Java 7 :
If you develop in Eclipse (which is quite common) with Java 7, the only version
of Eclipse PMD plugin supporting Java 7 is PMD plugin 4.0, depending on PMD 5.
But Maven PMD plugin depends on PMD 4.
Key point is that PMD 5.x is not backward compatible with PMD 4.x, and
therefore config files differ from PMD 4 (to allow PMD working with maven) and
PMD 5 (to allow PMD working with Eclipse in Java 7). Maintaining both
configuration files is quite painfull and may lead to inconsistancies.
was (Author: nicoco):
It would be nice to re-open this ticket, now that PMD 5.0.1 has been
released.
This would solve a version problem that may become quite common when developing
with Java 7 :
If you develop in Eclipse (which is quite common) with Java 7, the only version
of Eclipse PMD plugin supporting Java 7 is PMD plugin 4.0, depending on PMD 5.
But Maven PMD plugin depends on PMD 4.
Key point is that PMD 5.x is not backward compatible with PMD 4.x, and
therefore config files differ from PMD 4 (to allow PMD working with maven) and
PMD 5 (to allow PMD working with Eclipse in Java 7). Mainaining both
configuration files is quite painfull and may lead to inconsistancies.
> maven-pmd-plugin does not use recent (5.0) version of PMD
> ---------------------------------------------------------
>
> Key: MPMD-108
> URL: https://jira.codehaus.org/browse/MPMD-108
> Project: Maven 2.x PMD Plugin
> Issue Type: Bug
> Components: PMD
> Affects Versions: 2.4
> Environment: Linux (Ubuntu Jaunty 9.04), IBM Java JDK 1.6
> Reporter: Tomasz Welman
> Assignee: Olivier Lamy
> Fix For: 2.5
>
>
> During the maven build. It says that there is no such rule as:
> basics.xml/EmptyInitializer
> The PMD docs are saying that's this is since PMD 5.0.
> Why the maven-pmd-plugin doesn't use this 5.0 version of PMD?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira