You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Andreas Dangel (JIRA)" <ji...@apache.org> on 2018/01/21 17:33:00 UTC
[jira] [Closed] (MPMD-239) Add documentation about upgrading PMD
version at runtime
[ https://issues.apache.org/jira/browse/MPMD-239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Dangel closed MPMD-239.
-------------------------------
> 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
> Assignee: Andreas Dangel
> Priority: Major
> Fix For: 3.9.0
>
>
> 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 "choose your version":
> {noformat}
> <project>
> <properties>
> <pmdVersion>...choose your version...</version>
> </properties>
> ...
> <build>
> <pluginManagement>
> <plugins>
> <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>${pmdVersion}</version>
> </dependency>
> <dependency>
> <groupId>net.sourceforge.pmd</groupId>
> <artifactId>pmd-java</artifactId>
> <version>${pmdVersion}</version>
> </dependency>
> <dependency>
> <groupId>net.sourceforge.pmd</groupId>
> <artifactId>pmd-javascript</artifactId>
> <version>${pmdVersion}</version>
> </dependency>
> <dependency>
> <groupId>net.sourceforge.pmd</groupId>
> <artifactId>pmd-jsp</artifactId>
> <version>${pmdVersion}</version>
> </dependency>
> </dependencies>
> </plugin>
> </plugins>
> </pluginManagement>
> </build>
> ...
> </project>
> {noformat}
> See also https://github.com/pmd/pmd/issues/402
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)