diff --git a/pom.xml b/pom.xml index 52e85ee..30b7081 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ parent org.codehaus.sonar-plugins - 6 + 7 ../parent @@ -12,8 +12,20 @@ sonar-plugin Sonar Build Breaker Plugin + Break the analysis batch if at least one alert threshold is hit. http://docs.codehaus.org/display/SONAR/Build+Breaker 2009 + + SonarSource + http://www.sonarsource.com + + + + GNU LGPL 3 + http://www.gnu.org/licenses/lgpl.txt + repo + + @@ -33,18 +45,8 @@ http://jira.codehaus.org/browse/SONARPLUGINS/component/14033 - - - GNU LGPL 3 - http://www.gnu.org/licenses/lgpl.txt - repo - - - - 1.10 - - buildbreaker + 1.12 Build Breaker org.sonar.plugins.buildbreaker.BuildBreakerPlugin diff --git a/src/license-header.txt b/src/license-header.txt deleted file mode 100644 index c39e5a3..0000000 --- a/src/license-header.txt +++ /dev/null @@ -1,17 +0,0 @@ -Sonar, open source software quality management tool. -Copyright (C) ${year} ${name} -mailto:contact AT sonarsource DOT com - -Sonar is free software; you can redistribute it and/or -modify it under the terms of the GNU Lesser General Public -License as published by the Free Software Foundation; either -version 3 of the License, or (at your option) any later version. - -Sonar is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public -License along with Sonar; if not, write to the Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 diff --git a/src/main/java/org/sonar/plugins/buildbreaker/BuildBreakerPlugin.java b/src/main/java/org/sonar/plugins/buildbreaker/BuildBreakerPlugin.java index 407ec7c..4426df0 100644 --- a/src/main/java/org/sonar/plugins/buildbreaker/BuildBreakerPlugin.java +++ b/src/main/java/org/sonar/plugins/buildbreaker/BuildBreakerPlugin.java @@ -28,7 +28,7 @@ public class BuildBreakerPlugin implements Plugin { public String getKey() { - return "build-breaker"; + return "buildbreaker"; } public String getName() { diff --git a/src/test/java/org/sonar/plugins/buildbreaker/BuildBreakerPluginTest.java b/src/test/java/org/sonar/plugins/buildbreaker/BuildBreakerPluginTest.java index 29ab9f4..0e5ae86 100644 --- a/src/test/java/org/sonar/plugins/buildbreaker/BuildBreakerPluginTest.java +++ b/src/test/java/org/sonar/plugins/buildbreaker/BuildBreakerPluginTest.java @@ -36,7 +36,7 @@ public void oneExtensionIsRegistered() { @Test public void justToIncreaseCoverage() { assertThat(new BuildBreakerPlugin().getName(), not(nullValue())); - assertThat(new BuildBreakerPlugin().getKey(), is("build-breaker")); + assertThat(new BuildBreakerPlugin().getKey(), is("buildbreaker")); assertThat(new BuildBreakerPlugin().getDescription(), not(nullValue())); } }