From 5c05c7d812a97fd6ab07b5ae7449f5e95d0f6546 Mon Sep 17 00:00:00 2001 From: Evgeny Mandrikov Date: Thu, 27 Jan 2011 21:20:09 +0300 Subject: [PATCH] SONAR-2148: Add new properties to manage level of Java language * Use sonar-java-api in sonar-pmd-plugin and sonar-clover-plugin --- plugins/sonar-clover-plugin/pom.xml | 5 ++++ .../clover/CloverMavenPluginHandler.java | 12 ++++---- plugins/sonar-pmd-plugin/pom.xml | 5 ++++ .../org/sonar/plugins/pmd/PmdExecutor.java | 12 ++++---- .../org/sonar/batch/MavenProjectBuilder.java | 16 +++++++++-- .../java/org/sonar/java/api/JavaUtils.java | 28 +++++++++++++++++-- .../org/sonar/api/resources/ProjectUtils.java | 20 ++++++------- 7 files changed, 72 insertions(+), 26 deletions(-) diff --git a/plugins/sonar-clover-plugin/pom.xml b/plugins/sonar-clover-plugin/pom.xml index 463e3b47601..972298145e6 100644 --- a/plugins/sonar-clover-plugin/pom.xml +++ b/plugins/sonar-clover-plugin/pom.xml @@ -52,6 +52,11 @@ sonar-plugin-api ${project.version} + + org.codehaus.sonar + sonar-java-api + ${project.version} +