Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.2
-
Fix Version/s: 2.3
-
Component/s: Checkstyle
-
Labels:None
Description
Creating a quality profile in Sonar with a Checkstyle configuration containing custom messages (reflected by a "message" element) doesn't work.
Following error message appears on the Sonar web-interface: "No profile created. Please check your configuration files."
See the following XML fragment which causes the problem:
<module name="IllegalImport"> <property name="severity" value="error"/> <message key="import.illegal" value="[IllegalImport] Import from illegal package - {0}."/> </module>
With Sonar 2.3, the import will complete successfully but the message node won't be used (a warning will be displayed)