diff --git a/README.md b/README.md index add465aba..79f2546ec 100644 --- a/README.md +++ b/README.md @@ -52,10 +52,11 @@ or [download a compatible release version of the plugin JAR](https://github.com/ 1. Copy the plugin JAR file to the `extensions/plugins/` directory of your SonarQube instance 2. Add `-javaagent:./extensions/plugins/sonarqube-community-branch-plugin-${version}.jar=web` to the `sonar.web.javaAdditionalOpts` property in your Sonarqube installation's `conf/sonar.properties` file, - e.g. `sonar.web.javaAdditionalOpts=-javaagent:./extensions/plugins/sonarqube-community-branch-plugin-1.8.0.jar=web` + e.g. `sonar.web.javaAdditionalOpts=-javaagent:./extensions/plugins/sonarqube-community-branch-plugin-${version}.jar=web` + where ${version} is the version of the plugin being worked with. e.g `1.8.0` 3. Add `-javaagent:./extensions/plugins/sonarqube-community-branch-plugin-${version}.jar=ce` to the `sonar.ce.javaAdditionalOpts` property in your Sonarqube installation's `conf/sonar.properties` file, - e.g. `sonar.ce.javaAdditionalOpts=-javaagent:./extensions/plugins/sonarqube-community-branch-plugin-1.8.0.jar=ce` + e.g. `sonar.ce.javaAdditionalOpts=-javaagent:./extensions/plugins/sonarqube-community-branch-plugin-${version}.jar=ce` 4. Start Sonarqube, and accept the warning about using third-party plugins ## Docker