MVN

maven : maven-pmd-plugin

Maven & Gradle

Mar 28, 2007

Maven PMD Plugin · The Maven PMD plugin is a plugin that wraps the PMD framework (http://pmd.sourceforge.net). PMD is a source checking framework that works by scanning Java source code and looks for potential problems like: unused local variables, empty catch blocks, unused parameters, empty 'if' statements, etc.

<dependency>
    <groupId>maven</groupId>
    <artifactId>maven-pmd-plugin</artifactId>
    <version>1.10</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of maven : maven-pmd-plugin to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 1.10

All Versions

Choose a version of maven : maven-pmd-plugin to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
1.10
maven-pmd-plugin-1.10
1.9
maven-pmd-plugin-1.9
1.8
maven-pmd-plugin-1.8
1.7
maven-pmd-plugin-1.7
1.6
maven-pmd-plugin-1.6
1.5
maven-pmd-plugin-1.5
1.4
maven-pmd-plugin-1.4
1.3
maven-pmd-plugin-1.3
1.2
maven-pmd-plugin-1.2
1.1
maven-pmd-plugin-1.1
1.0
maven-pmd-plugin-1.0

How to add a dependency to Maven

Add the following maven : maven-pmd-plugin maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>maven</groupId>
    <artifactId>maven-pmd-plugin</artifactId>
    <version>1.10</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following maven : maven-pmd-plugin gradle dependency to your build.gradle file:

implementation 'maven:maven-pmd-plugin:1.10'

Gradle Kotlin DSL: Add the following maven : maven-pmd-plugin gradle kotlin dependency to your build.gradle.kts file:

implementation("maven:maven-pmd-plugin:1.10")

How to add a dependency to SBT Scala

SBT Scala: Add the following maven : maven-pmd-plugin sbt scala dependency to your build.sbt file:

libraryDependencies += "maven" % "maven-pmd-plugin" % "1.10"

Advertisement