We have an old WLS server that is using Jersey 1.x
Sonarqube is complaining about using the com.sun.jersey imports in different classes.
I wish to customize the sonarqube rule
"Classes from "com.sun." and "sun." packages should not be used"
To not give a false positive on our jersey imports but still be valid for all other sun packages.
I have read the documentation but i can only find how to exclude different files and packages from beeing analyzed by the rules. But how do i customize the specific rule to only ignore jersey imports but keep the rest.