From d5018fc4435e8f755daeb5791022d28cdcd3d15e Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Fri, 28 Oct 2011 14:46:05 +0200 Subject: [PATCH] SONAR-2584 add support for Java7 in PMD --- plugins/sonar-pmd-plugin/pom.xml | 34 +++++++++++++++++++++++++++++--- 1 file changed, 31 insertions(+), 3 deletions(-) diff --git a/plugins/sonar-pmd-plugin/pom.xml b/plugins/sonar-pmd-plugin/pom.xml index 6cf586c6b43..372cd6caff0 100644 --- a/plugins/sonar-pmd-plugin/pom.xml +++ b/plugins/sonar-pmd-plugin/pom.xml @@ -14,9 +14,24 @@ PMD is a tool that looks for potential problems like possible bugs, dead code, suboptimal code, overcomplicated expressions or duplicate code. - 4.2.5 + 4.2.5.1 + + + + sonar + Sonar + http://repository.sonarsource.org/content/repositories/sonar + + true + + + false + + + + org.codehaus.sonar @@ -29,8 +44,8 @@ provided - pmd - pmd + com.sonarsource.pmd + pmd-java7 ${pmd.version} @@ -91,6 +106,19 @@ org.sonar.plugins.pmd.PmdPlugin + + + org.apache.maven.plugins + maven-enforcer-plugin + + + enforce-no-repositories + + true + + + + -- 2.39.5