From d69404ccb46f0462e432bef3196d76f825ce6927 Mon Sep 17 00:00:00 2001 From: simonbrandhof Date: Wed, 27 Apr 2011 11:55:16 +0200 Subject: [PATCH] SONAR-2323 Remove logs specific to Maven --- .../java/org/sonar/plugins/core/widgets/DescriptionWidget.java | 2 +- .../java/org/sonar/plugins/findbugs/FindbugsConfiguration.java | 2 +- .../src/main/java/org/sonar/api/utils/ServerHttpClient.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/DescriptionWidget.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/DescriptionWidget.java index 02cf7944cc0..29957c6bae7 100644 --- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/DescriptionWidget.java +++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/DescriptionWidget.java @@ -22,7 +22,7 @@ package org.sonar.plugins.core.widgets; import org.sonar.api.web.*; @WidgetLayout(WidgetLayoutType.NONE) -@Description("Displays general project information taken from the pom.xml") +@Description("Displays general project information") public class DescriptionWidget extends AbstractRubyTemplate implements RubyRailsWidget { public String getId() { return "description"; diff --git a/plugins/sonar-findbugs-plugin/src/main/java/org/sonar/plugins/findbugs/FindbugsConfiguration.java b/plugins/sonar-findbugs-plugin/src/main/java/org/sonar/plugins/findbugs/FindbugsConfiguration.java index f55f637bf4b..4674bf2e7c4 100644 --- a/plugins/sonar-findbugs-plugin/src/main/java/org/sonar/plugins/findbugs/FindbugsConfiguration.java +++ b/plugins/sonar-findbugs-plugin/src/main/java/org/sonar/plugins/findbugs/FindbugsConfiguration.java @@ -62,7 +62,7 @@ public class FindbugsConfiguration implements BatchExtension { File classesDir = project.getFileSystem().getBuildOutputDir(); if (classesDir == null || !classesDir.exists()) { throw new SonarException("Findbugs needs sources to be compiled. " - + "Please build project or edit pom.xml to set the property before executing sonar."); + + "Please build project before executing sonar and check the location of compiled classes."); } edu.umd.cs.findbugs.Project findbugsProject = new edu.umd.cs.findbugs.Project(); diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/utils/ServerHttpClient.java b/sonar-plugin-api/src/main/java/org/sonar/api/utils/ServerHttpClient.java index 6f174980bb9..3c55a6a0857 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/utils/ServerHttpClient.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/utils/ServerHttpClient.java @@ -76,7 +76,7 @@ public class ServerHttpClient implements BatchComponent { */ public void checkUp() { String exceptionLabel = "Sonar server at " + url + - " is unreacheable. Either start it or setup the sonar.host.url maven setting if the URL is incorrect"; + " is unreacheable. Either start it or setup the sonar.host.url setting if the URL is incorrect"; if (getId() == null) { throw new ServerConnectionException(exceptionLabel); } -- 2.39.5