问题 http://maven.apache.org/plugins/maven-pmd-plugin/ is currently in version 2.4 which supports PMD version 4.2.2 Is it possible to use PMD version 4.2.5 with this plugin, if so how do we do this? 回答1: There is a Jira Issue for this, see MPMD-97 (I suggest to vote for it). For now, you can try to upgrade locally the pmd version used in the plugin with: <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-pmd-plugin</artifactId> <version>2.4</version>