Skip to content
This repository has been archived by the owner on Jun 2, 2021. It is now read-only.

Commit

Permalink
BUILD-BREAKER: Migrate to parent-7
Browse files Browse the repository at this point in the history
  • Loading branch information
Godin committed Nov 14, 2010
1 parent e2ab058 commit fe609cb
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 31 deletions.
26 changes: 14 additions & 12 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<artifactId>parent</artifactId>
<groupId>org.codehaus.sonar-plugins</groupId>
<version>6</version>
<version>7</version>
<relativePath>../parent</relativePath>
</parent>

Expand All @@ -12,8 +12,20 @@
<packaging>sonar-plugin</packaging>

<name>Sonar Build Breaker Plugin</name>
<description>Break the analysis batch if at least one alert threshold is hit.</description>
<url>http://docs.codehaus.org/display/SONAR/Build+Breaker</url>
<inceptionYear>2009</inceptionYear>
<organization>
<name>SonarSource</name>
<url>http://www.sonarsource.com</url>
</organization>
<licenses>
<license>
<name>GNU LGPL 3</name>
<url>http://www.gnu.org/licenses/lgpl.txt</url>
<distribution>repo</distribution>
</license>
</licenses>

<developers>
<developer>
Expand All @@ -33,18 +45,8 @@
<url>http://jira.codehaus.org/browse/SONARPLUGINS/component/14033</url>
</issueManagement>

<licenses>
<license>
<name>GNU LGPL 3</name>
<url>http://www.gnu.org/licenses/lgpl.txt</url>
<distribution>repo</distribution>
</license>
</licenses>

<properties>
<sonar.version>1.10</sonar.version>
<!-- TODO sonar-packaging-maven-plugin because of SONAR-1879 -->
<sonar.pluginKey>buildbreaker</sonar.pluginKey>
<sonar.version>1.12</sonar.version>
<sonar.pluginName>Build Breaker</sonar.pluginName>
<sonar.pluginClass>org.sonar.plugins.buildbreaker.BuildBreakerPlugin</sonar.pluginClass>
</properties>
Expand Down
17 changes: 0 additions & 17 deletions src/license-header.txt

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

public class BuildBreakerPlugin implements Plugin {
public String getKey() {
return "build-breaker";
return "buildbreaker";
}

public String getName() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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()));
}
}

0 comments on commit fe609cb

Please sign in to comment.