MVN

org.codehaus.sonar-plugins.java : sonar-pmd-plugin

Maven & Gradle

Apr 16, 2015
2 usages
169 stars

SonarQube PMD Plugin · PMD is a tool that looks for potential problems like possible bugs, dead code, suboptimal code, overcomplicated expressions or duplicate code.

<dependency>
    <groupId>org.codehaus.sonar-plugins.java</groupId>
    <artifactId>sonar-pmd-plugin</artifactId>
    <version>2.4</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of org.codehaus.sonar-plugins.java : sonar-pmd-plugin to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 2.4
  • Latest Release Candidate: 2.1-RC1

All Versions

Choose a version of org.codehaus.sonar-plugins.java : sonar-pmd-plugin to add to Maven or Gradle - All Versions:

  • Version Updated
  • sonar-pmd-plugin-2.4

    Apr 16, 2015
  • sonar-pmd-plugin-2.3

    Nov 28, 2014
  • sonar-pmd-plugin-2.2

    May 14, 2014
  • sonar-pmd-plugin-2.1

    Mar 28, 2014
  • sonar-pmd-plugin-2.1-RC1

    Feb 25, 2014
  • sonar-pmd-plugin-2.0

    Jan 07, 2014
  • sonar-pmd-plugin-1.5

    Oct 28, 2013
  • sonar-pmd-plugin-1.5-RC2

    Oct 22, 2013
  • sonar-pmd-plugin-1.5-RC1

    Oct 18, 2013
  • sonar-pmd-plugin-1.4

    Sep 04, 2013
  • sonar-pmd-plugin-1.3

    Jun 25, 2013
  • sonar-pmd-plugin-1.3-RC1

    Jun 10, 2013
  • sonar-pmd-plugin-1.2

    Mar 13, 2013
  • sonar-pmd-plugin-1.2-RC2

    Mar 01, 2013
  • sonar-pmd-plugin-1.2-RC1

    Feb 25, 2013
  • sonar-pmd-plugin-1.1

    Dec 20, 2012
  • sonar-pmd-plugin-1.1-RC2

    Dec 13, 2012
  • sonar-pmd-plugin-1.1-RC1

    Dec 12, 2012

How to add a dependency to Maven

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

<dependency>
    <groupId>org.codehaus.sonar-plugins.java</groupId>
    <artifactId>sonar-pmd-plugin</artifactId>
    <version>2.4</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following org.codehaus.sonar-plugins.java : sonar-pmd-plugin gradle dependency to your build.gradle file:

implementation 'org.codehaus.sonar-plugins.java:sonar-pmd-plugin:2.4'

Gradle Kotlin DSL: Add the following org.codehaus.sonar-plugins.java : sonar-pmd-plugin gradle kotlin dependency to your build.gradle.kts file:

implementation("org.codehaus.sonar-plugins.java:sonar-pmd-plugin:2.4")

How to add a dependency to SBT Scala

SBT Scala: Add the following org.codehaus.sonar-plugins.java : sonar-pmd-plugin sbt scala dependency to your build.sbt file:

libraryDependencies += "org.codehaus.sonar-plugins.java" % "sonar-pmd-plugin" % "2.4"