Skip to content

Latest commit

 

History

History
55 lines (38 loc) · 1.82 KB

README.md

File metadata and controls

55 lines (38 loc) · 1.82 KB

Sonar Update Center Build Status Quality Gate Status

Use as a library

<dependency>
    <groupId>org.sonarsource.update-center</groupId>
    <artifactId>sonar-update-center</artifactId>
    <version>(latest)</version>
</dependency>

Use as a mojo

Setup

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).

To generate metadata files

mvn org.sonarsource.update-center:sonar-update-center-mojo:LATEST:generate-metadata \
    -DinputFile=../sonar-update-center-properties/update-center-source.properties \
    -DoutputDir=output

To generate html

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

To generate json files

mvn org.sonarsource.update-center:sonar-update-center-mojo:LATEST:generate-json \
    -DinputFile=../sonar-update-center-properties/update-center-source.properties \
    -DoutputDir=output

License

Copyright 2010-2024 SonarSource.

Licensed under the GNU Lesser General Public License, Version 3.0