Skip to content

Commit

Permalink
Move Sonar plugin dependency to POM plugin management
Browse files Browse the repository at this point in the history
This is needed to allow Dependabot to detect plugin upgrades.
  • Loading branch information
scordio committed Jun 12, 2021
1 parent 18c996e commit e338e6b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ jobs:
restore-keys: ${{ runner.os }}-maven
- name: Test with Sonar
run: >
./mvnw -V --no-transfer-progress -e clean verify javadoc:javadoc
org.sonarsource.scanner.maven:sonar-maven-plugin:3.8.0.2131:sonar
./mvnw -V --no-transfer-progress -e clean verify javadoc:javadoc sonar:sonar
-Dsonar.host.url=https://sonarcloud.io
-Dsonar.organization=assertj
-Dsonar.projectKey=joel-costigliola_assertj-core
Expand Down
5 changes: 5 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -634,6 +634,11 @@
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.sonarsource.scanner.maven</groupId>
<artifactId>sonar-maven-plugin</artifactId>
<version>3.9.0.2155</version>
</plugin>
<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>yuicompressor-maven-plugin</artifactId>
Expand Down

0 comments on commit e338e6b

Please sign in to comment.