Skip to content

Does maven support PMD 7 (release candidates)? #4478

Closed Pinned Answered by adangel
linusjf asked this question in Q&A
Discussion options

You must be logged in to vote

Here is now the new solution for PMD 7.0.0-rc4 and later:

In order to use PMD 7 with maven-pmd-plugin a new
compatibility module has been created. This allows to use PMD 7 by simply adding one additional dependency:

  1. Follow the guide Upgrading PMD at Runtime
  2. Add additionally the following dependency:
<dependency>
  <groupId>net.sourceforge.pmd</groupId>
  <artifactId>pmd-compat6</artifactId>
  <!--<version>${pmdVersion}</version>-->
  <version>7.0.0-rc4+with-pr4749</version> <!-- this contains the fix from #4749 -->
</dependency>

It is important to add this dependency as the first in the list, so that maven-pmd-plugin sees the (old)
compatible versions of some classes.

This module is ava…

Replies: 11 comments 28 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@linusjf
Comment options

@Harmelodic
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@adangel
Comment options

Comment options

You must be logged in to vote
2 replies
@adangel
Comment options

@linusjf
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by adangel
Comment options

You must be logged in to vote
13 replies
@mikebell90
Comment options

@mikebell90
Comment options

@adangel
Comment options

@mikebell90
Comment options

@mikebell90
Comment options

Comment options

You must be logged in to vote
2 replies
@adangel
Comment options

@fripoli
Comment options

Comment options

You must be logged in to vote
8 replies
@netmindz
Comment options

@netmindz
Comment options

@adangel
Comment options

@netmindz
Comment options

@adangel
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
7 participants