You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These two `pom`s correspond to different use cases, depending on which instance of SonarQube you will target with your custom-rules plugin.
51
51
52
-
In this tutorial, **we will only use the file named `pom_SQ_9_9_LTS.xml`**, as it is entirely independent of the build of the Java Analyzer, is self-contained, and will target the latest release of SonarQube.
52
+
In this tutorial, **we will only use the file named `pom_SQ_10_6_LATEST.xml`**, as it is entirely independent of the build of the Java Analyzer, is self-contained, and will target the latest release of SonarQube.
53
53
54
54
Let's start by building the custom-plugin template by using the following command:
55
55
56
56
```
57
-
mvn clean install -f pom_SQ_9_9_LTS.xml
57
+
mvn clean install -f pom_SQ_10_6_LATEST.xml
58
58
```
59
59
60
-
Note that you can also decide to **delete** the original `pom.xml` file (**NOT RECOMMENDED**) and then rename `pom_SQ_9_9_LTS.xml` into `pom.xml`.
60
+
Note that you can also decide to **delete** the original `pom.xml` file (**NOT RECOMMENDED**) and then rename `pom_SQ_10_6_LATEST.xml` into `pom.xml`.
61
61
In this case, you would be able to use the very simple command:
62
62
63
63
```
@@ -66,13 +66,13 @@ mvn clean install
66
66
67
67
Looking inside the `pom`, you will see that both SonarQube and the Java Analyzer versions are hard-coded.
68
68
This is because SonarSource's analyzers are directly embedded in the various SonarQube versions and are shipped together.
69
-
For instance, SonarQube `8.9` (previous LTS) is shipped with version `6.15.1.26025` of the Java Analyzer, while SonarQube `9.9` (LTS) is shipped with a much more recent version `7.16.0.30901` of the Java Analyzer.
69
+
For instance, SonarQube `8.9` (previous LTS) is shipped with version `6.15.1.26025` of the Java Analyzer, while the latest SonarQube `10.6`is shipped with a much more recent version `8.0.1.36337` of the Java Analyzer.
0 commit comments