mirror of
https://github.com/SonarSource/sonarqube.git
synced 2024-07-21 20:59:43 +02:00
SONAR-2323 Remove logs specific to Maven
This commit is contained in:
parent
84bd2d97ea
commit
d69404ccb4
@ -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";
|
||||
|
@ -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 <outputDirectory> 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();
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user