Skip to content

Commit

Permalink
Fix demo project for usage of existing maven plugin version.
Browse files Browse the repository at this point in the history
  • Loading branch information
daggerok committed Jul 18, 2024
1 parent 05f9d82 commit 2faabba
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SonarQube 💥 Build Breaker [![Build Status](https://travis-ci.org/daggerok/sonar-quality-gates-build-breaker.svg?branch=master)](https://travis-ci.org/daggerok/sonar-quality-gates-build-breaker) [ ![Download](https://api.bintray.com/packages/daggerok/maven/sonar-quality-gates-build-breaker/images/download.svg) ](https://bintray.com/daggerok/maven/sonar-quality-gates-build-breaker/_latestVersion) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.daggerok.sonar/sonar-quality-gates-build-breaker/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.github.daggerok.sonar/sonar-quality-gates-build-breaker)
# SonarQube 💥 Build Breaker [![Build Status](https://travis-ci.org/daggerok/sonar-quality-gates-build-breaker.svg?branch=master)](https://travis-ci.org/daggerok/sonar-quality-gates-build-breaker) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.daggerok.sonar/sonar-quality-gates-build-breaker/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.github.daggerok.sonar/sonar-quality-gates-build-breaker)
SonarQube Build Breaker designed to fail SonarQube analysis during CI pipeline build if quality grates not passed

![SonarQube 💥 Build Breaker](sonar-breaker.png)
Expand Down
2 changes: 1 addition & 1 deletion examples/sonar-breaker-maven-plugin-demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
<plugin>
<groupId>com.github.daggerok.sonar</groupId>
<artifactId>sonar-breaker-maven-plugin</artifactId>
<version>${project.version}</version>
<version>1.0.1</version>
<configuration>
<!-- shorter parameters aliases:
<delay>1</delay>
Expand Down
10 changes: 1 addition & 9 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@
<build>
<!--
./mvnw -B release:clean release:prepare release:perform \
-P ,local-publish \
-P local-publish \
-Dmaven.deploy.skip=true \
-s .m2/settings.xml \
-Dresume=false
Expand Down Expand Up @@ -539,12 +539,4 @@
</profile>
</profiles>

<distributionManagement>
<repository>
<id>bintray-daggerok-maven</id>
<name>daggerok-maven</name>
<url>https://api.bintray.com/maven/daggerok/maven/sonar-quality-gates-build-breaker/;publish=1</url>
</repository>
</distributionManagement>

</project>

0 comments on commit 2faabba

Please sign in to comment.