<dependency>
<groupId>org.sonarsource.update-center</groupId>
<artifactId>sonar-update-center</artifactId>
<version>(latest)</version>
</dependency>
First, build and install locally.
mvn clean install -DskipTests
You will need the update center properties, which you can find here (adapt the -DinputFile
parameter below accordingly).
mvn org.sonarsource.update-center:sonar-update-center-mojo:LATEST:generate-metadata \
-DinputFile=../sonar-update-center-properties/update-center-source.properties \
-DoutputDir=output
This will generate html snippets for every plugins plus the compatability matrix
mvn org.sonarsource.update-center:sonar-update-center-mojo:LATEST:generate-html \
-DinputFile=../sonar-update-center-properties/update-center-source.properties \
-DoutputDir=output
mvn org.sonarsource.update-center:sonar-update-center-mojo:LATEST:generate-json \
-DinputFile=../sonar-update-center-properties/update-center-source.properties \
-DoutputDir=output
Copyright 2010-2024 SonarSource.
Licensed under the GNU Lesser General Public License, Version 3.0