Andreas Dangel created MPMD-239:
-----------------------------------

             Summary: Add documentation about upgrading PMD version at runtime
                 Key: MPMD-239
                 URL: https://issues.apache.org/jira/browse/MPMD-239
             Project: Maven PMD Plugin
          Issue Type: Improvement
          Components: CPD, PMD
            Reporter: Andreas Dangel
             Fix For: 3.9


The documentation should be similar to 
http://maven.apache.org/plugins/maven-checkstyle-plugin/examples/upgrading-checkstyle.html

Example configuration, to use m-pmd-p 3.8 + PMD 5.7.0:

{noformat}
  <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-pmd-plugin</artifactId>
        <version>3.8</version>
        <dependencies>
            <dependency>
                <groupId>net.sourceforge.pmd</groupId>
                <artifactId>pmd-core</artifactId>
                <version>5.7.0</version>
            </dependency>
            <dependency>
                <groupId>net.sourceforge.pmd</groupId>
                <artifactId>pmd-java</artifactId>
                <version>5.7.0</version>
            </dependency>
          </dependencies>
      </plugin>
{noformat}

See also https://github.com/pmd/pmd/issues/402





--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to