]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-15644 Remove CSS plugin (#4975)
authorTibor Blenessy <tibor.blenessy@sonarsource.com>
Thu, 11 Nov 2021 14:13:58 +0000 (15:13 +0100)
committersonartech <sonartech@sonarsource.com>
Thu, 11 Nov 2021 20:03:14 +0000 (20:03 +0000)
CSS analysis is integrated into the javascript plugin

build.gradle
server/sonar-docs/src/pages/analysis/languages/css.md [deleted file]
server/sonar-docs/src/pages/analysis/languages/overview.md
server/sonar-docs/static/SonarCloudNavigationTree.json
server/sonar-docs/static/SonarQubeNavigationTree.json
server/sonar-docs/static/StaticNavigationTree.json
sonar-application/bundled_plugins.gradle

index c10d3b80c44df8221cb8939a77d0fca55da7d3f5..714be74eb81961ac3881b88badcac571f0fc3eb1 100644 (file)
@@ -268,8 +268,7 @@ subprojects {
       dependency 'com.sonarsource.slang:sonar-apex-plugin:1.8.3.2219'
       dependency 'com.sonarsource.swift:sonar-swift-plugin:4.3.2.5043'
       dependency 'com.sonarsource.tsql:sonar-tsql-plugin:1.5.1.4340'
-      dependency 'org.sonarsource.config:sonar-config-plugin:1.0.0.32'
-      dependency 'org.sonarsource.css:sonar-css-plugin:1.4.2.2002'
+      dependency 'org.sonarsource.config:sonar-config-plugin:1.0.0.32'      
       dependency 'org.sonarsource.dotnet:sonar-csharp-plugin:8.29.0.36737'
       dependency 'org.sonarsource.dotnet:sonar-vbnet-plugin:8.29.0.36737'
       dependency 'org.sonarsource.flex:sonar-flex-plugin:2.6.2.2641'
diff --git a/server/sonar-docs/src/pages/analysis/languages/css.md b/server/sonar-docs/src/pages/analysis/languages/css.md
deleted file mode 100644 (file)
index c2c13fa..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
----
-title: CSS
-url: /analysis/languages/css/
----
-
-
-
-## Prerequisites
-In order to analyze CSS code, you need to have Node.js >= 8 installed on the machine running the scan. Set property `sonar.nodejs.executable` to an absolute path to Node.js executable, if standard `node` is not available.
-
-If you have a community plugin that handles CSS installed on your SonarQube instance it will conflict with SonarCSS, so it should be removed.
-
-## Language-Specific Properties
-
-Discover and update the CSS-specific [properties](/analysis/analysis-parameters/) in: <!-- sonarcloud -->Project <!-- /sonarcloud -->**[Administration > General Settings > CSS](/#sonarqube-admin#/admin/settings?category=css)**
-
-## Related Pages
-* [Importing External Issues](/analysis/external-issues/) (StyleLint.io)
index c4ff0783387e72c204d2202b4de193025094906a..0a1ad057918bcce7d998fa3d06b7255a598e4cd9 100644 (file)
@@ -5,15 +5,15 @@ url: /analysis/languages/overview/
 
 SonarQube provides analysis of different languages depending on the edition you're running.
 
-| Language                             | Community Edition      | Developer Edition      | Enterprise Edition and Data Center Edtion |
-| ------------------------------------ | ---------------------- | ---------------------- | ----------------------------------------- |
+| Language                                      | Community Edition      | Developer Edition      | Enterprise Edition and Data Center Edtion |
+| --------------------------------------------- | ---------------------- | ---------------------- | ----------------------------------------- |
 | [ABAP](/analysis/languages/abap/)             |                        | ![](/images/check.svg) | ![](/images/check.svg)                    |
 | [Apex](/analysis/languages/apex/)             |                        |                        | ![](/images/check.svg)                    |
 | [C#](/analysis/languages/csharp/)             | ![](/images/check.svg) | ![](/images/check.svg) | ![](/images/check.svg)                    |
 | [C](/analysis/languages/cfamily/)             |                        | ![](/images/check.svg) | ![](/images/check.svg)                    |
 | [C++](/analysis/languages/cfamily/)           |                        | ![](/images/check.svg) | ![](/images/check.svg)                    |
 | [COBOL](/analysis/languages/cobol/)           |                        |                        | ![](/images/check.svg)                    |
-| [CSS](/analysis/languages/css/)               | ![](/images/check.svg) | ![](/images/check.svg) | ![](/images/check.svg)                    |
+| [CSS](/analysis/languages/javascript/)        | ![](/images/check.svg) | ![](/images/check.svg) | ![](/images/check.svg)                    |
 | [Flex](/analysis/languages/flex/)             | ![](/images/check.svg) | ![](/images/check.svg) | ![](/images/check.svg)                    |
 | [Go](/analysis/languages/go/)                 | ![](/images/check.svg) | ![](/images/check.svg) | ![](/images/check.svg)                    |
 | [Java](/analysis/languages/java/)             | ![](/images/check.svg) | ![](/images/check.svg) | ![](/images/check.svg)                    |
index 3e254a6ddc31bd55a6647a0253ca856223237878..959f91ac13acd49c21f6390bb0d60fe3803412b8 100644 (file)
@@ -16,7 +16,6 @@
           "/analysis/languages/csharp/",
           "/analysis/languages/cfamily/",
           "/analysis/languages/cobol/",
-          "/analysis/languages/css/",
           "/analysis/languages/flex/",
           "/analysis/languages/go/",
           "/analysis/languages/html/",
index 8544d7eb058170d17f4f4a7021d8cf07cc8836ec..c2a6520a0b7f5a53949639f35c92ca676627b06f 100644 (file)
@@ -1,10 +1,7 @@
 [
   {
     "title": "Requirements",
-    "children": [
-      "/requirements/requirements/",
-      "/requirements/hardware-recommendations/"
-    ]
+    "children": ["/requirements/requirements/", "/requirements/hardware-recommendations/"]
   },
   {
     "title": "Analyzing Source Code",
@@ -32,7 +29,6 @@
           "/analysis/languages/csharp/",
           "/analysis/languages/cfamily/",
           "/analysis/languages/cobol/",
-          "/analysis/languages/css/",
           "/analysis/languages/flex/",
           "/analysis/languages/go/",
           "/analysis/languages/html/",
       "/analysis/generic-test/",
       {
         "title": "Importing External Issues",
-        "children": [
-                 "/analysis/external-issues/",
-                 "/analysis/generic-issue/"
-               ]
+        "children": ["/analysis/external-issues/", "/analysis/generic-issue/"]
       },
       "/analysis/background-tasks/",
-         "/analysis/pull-request/",
+      "/analysis/pull-request/",
       {
         "title": "Branches",
-        "children": [
-          "/branches/overview/",
-          "/branches/branches-faq/"
-        ]
+        "children": ["/branches/overview/", "/branches/branches-faq/"]
       },
-         {
+      {
         "title": "CI Integration",
         "children": [
           "/analysis/ci-integration-overview/",
-                 "/analysis/jenkins/",
-                 "/analysis/codemagic/"
+          "/analysis/jenkins/",
+          "/analysis/codemagic/"
         ]
       },
       "/analysis/scm-integration/",
     "children": [
       "/analysis/github-integration/",
       "/analysis/gitlab-integration/",
-         {
+      {
         "title": "Bitbucket Integration",
-        "children": [
-          "/analysis/bitbucket-integration/",
-                 "/analysis/bitbucket-cloud-integration/"
-        ]
+        "children": ["/analysis/bitbucket-integration/", "/analysis/bitbucket-cloud-integration/"]
       },
       "/analysis/azuredevops-integration/"
-        ]
+    ]
   },
   {
     "title": "User Guide",
       {
         "title": "Rules",
         "children": [
-                 "/user-guide/rules/",
-                 "/user-guide/security-rules/",
-                 "/user-guide/built-in-rule-tags/"
+          "/user-guide/rules/",
+          "/user-guide/security-rules/",
+          "/user-guide/built-in-rule-tags/"
         ]
       },
       {
         "title": "User Account",
-        "children": [
-                 "/user-guide/user-account/",
-                 "/user-guide/user-token/"
-        ]
+        "children": ["/user-guide/user-account/", "/user-guide/user-token/"]
       },
       "/user-guide/issues/",
       "/user-guide/security-hotspots/",
       "/project-administration/project-existence/",
       "/project-administration/managing-project-history/",
       "/project-administration/narrowing-the-focus/",
-         "/project-administration/new-code-period/",
-         "/project-administration/managing-portfolios/",
-         "/project-administration/managing-applications/",
+      "/project-administration/new-code-period/",
+      "/project-administration/managing-portfolios/",
+      "/project-administration/managing-applications/",
       "/project-administration/portfolio-pdf-configuration/",
       "/project-administration/project-settings/",
       "/project-administration/webhooks/"
index 11cc337479b7c4a7e8f572dc48b1a68d1ea3eea6..c2d96691dea9209ca706cafadefc5c91e6b0ad80 100644 (file)
@@ -2,10 +2,7 @@
   "/setup/get-started-2-minutes/",
   {
     "title": "Requirements",
-    "children": [
-      "/requirements/requirements/",
-      "/requirements/hardware-recommendations/"
-    ]
+    "children": ["/requirements/requirements/", "/requirements/hardware-recommendations/"]
   },
   {
     "title": "Setup and Upgrade",
       "/setup/install-server/",
       {
         "title": "Configure and Operate a Server",
-        "children": [
-                 "/setup/operate-server/",
-                 "/setup/environment-variables/"
-        ]
+        "children": ["/setup/operate-server/", "/setup/environment-variables/"]
       },
       "/setup/install-plugin/",
       "/setup/install-cluster/",
       "/setup/operate-cluster/",
-            {
+      {
         "title": "Deploy on Kubernetes",
-        "children": [
-                 "/setup/sonarqube-on-kubernetes/",
-                 "/setup/sonarqube-cluster-on-kubernetes/"
-        ]
+        "children": ["/setup/sonarqube-on-kubernetes/", "/setup/sonarqube-cluster-on-kubernetes/"]
       },
       {
         "title": "Upgrade the Server",
-        "children": [
-                 "/setup/before-you-upgrade/",
-                 "/setup/upgrading/"
-        ]
+        "children": ["/setup/before-you-upgrade/", "/setup/upgrading/"]
       },
       "/setup/upgrade-notes/",
       "/setup/troubleshooting/"
@@ -66,7 +54,6 @@
           "/analysis/languages/csharp/",
           "/analysis/languages/cfamily/",
           "/analysis/languages/cobol/",
-          "/analysis/languages/css/",
           "/analysis/languages/flex/",
           "/analysis/languages/go/",
           "/analysis/languages/html/",
       "/analysis/generic-test/",
       {
         "title": "Importing External Issues",
-        "children": [
-                 "/analysis/external-issues/",
-                 "/analysis/generic-issue/"
-               ]
+        "children": ["/analysis/external-issues/", "/analysis/generic-issue/"]
       },
       "/analysis/background-tasks/",
-         "/analysis/pull-request/",
+      "/analysis/pull-request/",
       {
         "title": "Branches",
-        "children": [
-          "/branches/overview/",
-          "/branches/branches-faq/"
-        ]
+        "children": ["/branches/overview/", "/branches/branches-faq/"]
       },
-         {
+      {
         "title": "CI Integration",
         "children": [
           "/analysis/ci-integration-overview/",
-                 "/analysis/jenkins/",
-                 "/analysis/codemagic/"
+          "/analysis/jenkins/",
+          "/analysis/codemagic/"
         ]
-         },
+      },
       "/analysis/scm-integration/",
       "/analysis/security_configuration/",
       "/analysis/analysis-with-java-11/"
     "children": [
       "/analysis/github-integration/",
       "/analysis/gitlab-integration/",
-         {
+      {
         "title": "Bitbucket Integration",
-        "children": [
-          "/analysis/bitbucket-integration/",
-                 "/analysis/bitbucket-cloud-integration/"
-        ]
+        "children": ["/analysis/bitbucket-integration/", "/analysis/bitbucket-cloud-integration/"]
       },
       "/analysis/azuredevops-integration/"
-        ]
+    ]
   },
   {
     "title": "User Guide",
       {
         "title": "Rules",
         "children": [
-                 "/user-guide/rules/",
-                 "/user-guide/security-rules/",
-                 "/user-guide/built-in-rule-tags/"
+          "/user-guide/rules/",
+          "/user-guide/security-rules/",
+          "/user-guide/built-in-rule-tags/"
         ]
       },
       {
         "title": "User Account",
-        "children": [
-                 "/user-guide/user-account/",
-                 "/user-guide/user-token/"
-        ]
+        "children": ["/user-guide/user-account/", "/user-guide/user-token/"]
       },
       "/user-guide/issues/",
       "/user-guide/security-hotspots/",
       "/project-administration/project-existence/",
       "/project-administration/managing-project-history/",
       "/project-administration/narrowing-the-focus/",
-         "/project-administration/new-code-period/",
-         "/project-administration/managing-portfolios/",
-         "/project-administration/managing-applications/",
+      "/project-administration/new-code-period/",
+      "/project-administration/managing-portfolios/",
+      "/project-administration/managing-applications/",
       "/project-administration/portfolio-pdf-configuration/",
       "/project-administration/project-settings/",
       "/project-administration/webhooks/"
index 291b80094e41f42c92c31adcfb434d150a8e5b82..9146e17de45d2d6e46f9d9dd250225b1392f8f57 100644 (file)
@@ -1,5 +1,4 @@
-dependencies {
-    bundledPlugin 'org.sonarsource.css:sonar-css-plugin@jar'
+dependencies {    
     bundledPlugin "org.sonarsource.dotnet:sonar-csharp-plugin@jar"
     bundledPlugin "org.sonarsource.dotnet:sonar-vbnet-plugin@jar"
     bundledPlugin 'org.sonarsource.flex:sonar-flex-plugin@jar'