java - Excluding com.sun.jersey package from Sonarqube rule -


we have old wls server using jersey 1.x

sonarqube complaining using com.sun.jersey imports in different classes.

i wish customize sonarqube rule

"classes "com.sun." , "sun." packages should not used"

sonar rule

to not give false positive on our jersey imports still valid other sun packages.

i have read documentation can find how exclude different files , packages beeing analyzed rules. how customize specific rule ignore jersey imports keep rest.

log in sonarqube account can edit rules , quality profiles. go rules menu, search rule "squid:s1191" (classes "sun.*" packages should not used). then, in activated quality profiles, can click on change button edit exclude parameter of rule. enter com.sun.jersey text box.


Comments

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

css - Have a transparent when hover each images(not background) -