]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-23139 Recommend the fully qualified syntax for the Maven plugin
authorJulien HENRY <julien.henry@sonarsource.com>
Tue, 24 Sep 2024 13:38:32 +0000 (15:38 +0200)
committersonartech <sonartech@sonarsource.com>
Thu, 26 Sep 2024 20:03:15 +0000 (20:03 +0000)
server/sonar-web/src/main/js/components/tutorials/bitbucket-pipelines/__tests__/__snapshots__/BitbucketPipelinesTutorial-it.tsx.snap
server/sonar-web/src/main/js/components/tutorials/bitbucket-pipelines/commands/Maven.ts
server/sonar-web/src/main/js/components/tutorials/gitlabci/__tests__/__snapshots__/GitLabCITutorial-it.tsx.snap
server/sonar-web/src/main/js/components/tutorials/gitlabci/commands/PipeCommand.tsx

index dc050071e34db869c45c6e01838e8b8ed3183eed..cc2ff6b69260b321db7ef5841a05247845a7f090 100644 (file)
@@ -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
 
index 6a53708be3db0c333bc56810d2e3e6856f9a87fb..41809d2d6e2f6c2deeeb7fabfa4c758380ff6b85 100644 (file)
@@ -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
 
index dc88e9ef38ac659925de6f5021725205327096b6..67757137bb3ec696b78c7e5d89ccd38f6bbbeced 100644 (file)
@@ -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'
index 9327727c87f826e3b3a43af2b995674051017d53..74caf7638bb6008fccc22fc30cdf558dceae71fc 100644 (file)
@@ -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',