Sonarqube Plugin containing custom rules and security hotspots for SAP Commerce development.
After plugin installation manually add rules you like to use to your quality profile.
See summary of custom rules: Rule Summary
This plugin supports SonarQube versions starting from v9.9
Execute the build and get the jar from ./target/sapcx-java-roles-.jar
Unittests require a local SAP Commerce installation. Path needs to be provided in the hybrisHome environment variable.
mvn clean install -DhybrisHome=path/to/hybris
If you do not have access to a SAP Commerce installation you can skip the tests
mvn clean install -DskipTests
To manually install the plugin put it into respective folder of your sonarqube installation and restart
$SONARQUBE_HOME/extensions/plugins
Copyright 2023-present IBM Corporation
All contents in this repository are licensed under the Apache License, Version 2.0.