Skip to content

Commit c71efc1

Browse files
committed
fix: #254 Remove org.sonarsource.scanner.maven from pom for direct use in command
Signed-off-by: Laurent Broudoux <[email protected]>
1 parent 2c66c3e commit c71efc1

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

.github/workflows/sonar-cloud-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
env:
4343
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
4444
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
45-
run: mvn -B verify sonar:sonar -Pcoverage -Dsonar.projectKey=microcks_microcks-testcontainers-java
45+
run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Pcoverage -Dsonar.projectKey=microcks_microcks-testcontainers-java
4646

4747
# - name: Build and analyze
4848
# env:

pom.xml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -214,14 +214,6 @@
214214
<profiles>
215215
<profile>
216216
<id>coverage</id>
217-
<dependencies>
218-
<dependency>
219-
<groupId>org.sonarsource.scanner.maven</groupId>
220-
<artifactId>sonar-maven-plugin</artifactId>
221-
<version>3.9.1.2184</version>
222-
<scope>test</scope>
223-
</dependency>
224-
</dependencies>
225217
<build>
226218
<plugins>
227219
<plugin>

0 commit comments

Comments
 (0)