Skip to content

Commit e338e6b

Browse files
committed
Move Sonar plugin dependency to POM plugin management
This is needed to allow Dependabot to detect plugin upgrades.
1 parent 18c996e commit e338e6b

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ jobs:
4848
restore-keys: ${{ runner.os }}-maven
4949
- name: Test with Sonar
5050
run: >
51-
./mvnw -V --no-transfer-progress -e clean verify javadoc:javadoc
52-
org.sonarsource.scanner.maven:sonar-maven-plugin:3.8.0.2131:sonar
51+
./mvnw -V --no-transfer-progress -e clean verify javadoc:javadoc sonar:sonar
5352
-Dsonar.host.url=https://sonarcloud.io
5453
-Dsonar.organization=assertj
5554
-Dsonar.projectKey=joel-costigliola_assertj-core

pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -634,6 +634,11 @@
634634
</plugins>
635635
<pluginManagement>
636636
<plugins>
637+
<plugin>
638+
<groupId>org.sonarsource.scanner.maven</groupId>
639+
<artifactId>sonar-maven-plugin</artifactId>
640+
<version>3.9.0.2155</version>
641+
</plugin>
637642
<plugin>
638643
<groupId>net.alchim31.maven</groupId>
639644
<artifactId>yuicompressor-maven-plugin</artifactId>

0 commit comments

Comments
 (0)