Must-share information (formatted with Markdown):
- Version: sonarqube-10.7.0.96327/bin/linux-x86-64
- how is SonarQube deployed: localhost (laptop)
- what are you trying to achieve: Trying to use an older SonarWay profile for Java or alternatively if that isn’t possible, retrieve older versions of the SonarWay definition to create custom quality profile.
- what have you tried so far to achieve this:
- Cloned
sonar-java
repo to find consistent definition of SonarWay that I could import to SonarCloud (to no avail). - Exported quality profile to XML from Sonarqube to see format.
- Found JSON definition of Java SonarWay (
./sonar-java-plugin/src/main/resources/org/sonar/l10n/java/rules/java/Sonar_way_profile.json
)
- Cloned
Now I’m wondering where I could find either
- an importable version of an older Java SonarWay definition;
- a way to create an importable SonarWay definition from a
Sonar_way_profile.json
file.
Any luck?