aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2024-09-24 15:38:32 +0200
committersonartech <sonartech@sonarsource.com>2024-09-26 20:03:15 +0000
commit61d48b339cdb865439e9b877276c7a680a7a6cf6 (patch)
tree90b9d876e75a6d69b96b9a6a1acd4f91fa5f7341 /server
parent532aab1b4ed76ed156cd8c90c6b46a0efd4297cd (diff)
downloadsonarqube-61d48b339cdb865439e9b877276c7a680a7a6cf6.tar.gz
sonarqube-61d48b339cdb865439e9b877276c7a680a7a6cf6.zip
SONAR-23139 Recommend the fully qualified syntax for the Maven plugin
Diffstat (limited to 'server')
-rw-r--r--server/sonar-web/src/main/js/components/tutorials/bitbucket-pipelines/__tests__/__snapshots__/BitbucketPipelinesTutorial-it.tsx.snap2
-rw-r--r--server/sonar-web/src/main/js/components/tutorials/bitbucket-pipelines/commands/Maven.ts2
-rw-r--r--server/sonar-web/src/main/js/components/tutorials/gitlabci/__tests__/__snapshots__/GitLabCITutorial-it.tsx.snap2
-rw-r--r--server/sonar-web/src/main/js/components/tutorials/gitlabci/commands/PipeCommand.tsx2
4 files changed, 4 insertions, 4 deletions
diff --git a/server/sonar-web/src/main/js/components/tutorials/bitbucket-pipelines/__tests__/__snapshots__/BitbucketPipelinesTutorial-it.tsx.snap b/server/sonar-web/src/main/js/components/tutorials/bitbucket-pipelines/__tests__/__snapshots__/BitbucketPipelinesTutorial-it.tsx.snap
index dc050071e34..cc2ff6b6926 100644
--- a/server/sonar-web/src/main/js/components/tutorials/bitbucket-pipelines/__tests__/__snapshots__/BitbucketPipelinesTutorial-it.tsx.snap
+++ b/server/sonar-web/src/main/js/components/tutorials/bitbucket-pipelines/__tests__/__snapshots__/BitbucketPipelinesTutorial-it.tsx.snap
@@ -333,7 +333,7 @@ definitions:
- maven
- sonar
script:
- - mvn verify sonar:sonar -Dsonar.projectKey=my-project -Dsonar.projectName='MyProject'
+ - mvn verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=my-project -Dsonar.projectName='MyProject'
caches:
sonar: ~/.sonar
diff --git a/server/sonar-web/src/main/js/components/tutorials/bitbucket-pipelines/commands/Maven.ts b/server/sonar-web/src/main/js/components/tutorials/bitbucket-pipelines/commands/Maven.ts
index 6a53708be3d..41809d2d6e2 100644
--- a/server/sonar-web/src/main/js/components/tutorials/bitbucket-pipelines/commands/Maven.ts
+++ b/server/sonar-web/src/main/js/components/tutorials/bitbucket-pipelines/commands/Maven.ts
@@ -35,7 +35,7 @@ definitions:
- maven
- sonar
script:
- - mvn verify sonar:sonar -Dsonar.projectKey=${projectKey} -Dsonar.projectName='${projectName}'
+ - mvn verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=${projectKey} -Dsonar.projectName='${projectName}'
caches:
sonar: ~/.sonar
diff --git a/server/sonar-web/src/main/js/components/tutorials/gitlabci/__tests__/__snapshots__/GitLabCITutorial-it.tsx.snap b/server/sonar-web/src/main/js/components/tutorials/gitlabci/__tests__/__snapshots__/GitLabCITutorial-it.tsx.snap
index dc88e9ef38a..67757137bb3 100644
--- a/server/sonar-web/src/main/js/components/tutorials/gitlabci/__tests__/__snapshots__/GitLabCITutorial-it.tsx.snap
+++ b/server/sonar-web/src/main/js/components/tutorials/gitlabci/__tests__/__snapshots__/GitLabCITutorial-it.tsx.snap
@@ -334,7 +334,7 @@ sonarqube-check:
stage: sonarqube-check
script:
- - mvn verify sonar:sonar
+ - mvn verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
allow_failure: true
rules:
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
diff --git a/server/sonar-web/src/main/js/components/tutorials/gitlabci/commands/PipeCommand.tsx b/server/sonar-web/src/main/js/components/tutorials/gitlabci/commands/PipeCommand.tsx
index 9327727c87f..74caf7638bb 100644
--- a/server/sonar-web/src/main/js/components/tutorials/gitlabci/commands/PipeCommand.tsx
+++ b/server/sonar-web/src/main/js/components/tutorials/gitlabci/commands/PipeCommand.tsx
@@ -52,7 +52,7 @@ const BUILD_TOOL_SPECIFIC: {
[BuildTools.Maven]: {
image: 'maven:3-eclipse-temurin-17',
script: () => `
- - mvn verify sonar:sonar`,
+ - mvn verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar`,
},
[BuildTools.DotNet]: {
image: 'mcr.microsoft.com/dotnet/sdk:7.0',