If a module's artifactId differs from its module name (the directory name): it is the artifactId that should be use instead of the module name.
property.category.exclusions.issues=Issues
property.category.exclusions.issues.description=Configure which issues should not be reported.
+property.category.exclusions.duplications=Duplications
+property.category.exclusions.duplications.description=Configure files which should not be checked for duplicated code
property.error.notBoolean=Valid options are "true" and "false"
property.error.notInteger=Only digits are allowed
property.error.notFloat=Not a floating point number
public final class CpdPlugin extends SonarPlugin {
- public List getExtensions() {
+ public List<?> getExtensions() {
return ImmutableList.of(
PropertyDefinition.builder(CoreProperties.CPD_CROSS_RPOJECT)
.defaultValue(CoreProperties.CPD_CROSS_RPOJECT_DEFAULT_VALUE + "")
.description("Patterns used to exclude some source files from the duplication detection mechanism. " +
"See the \"Exclusions\" category to know how to use wildcards to specify this property.")
.onQualifiers(Qualifiers.PROJECT, Qualifiers.MODULE)
- .category(CoreProperties.CATEGORY_DUPLICATIONS)
+ .category(CoreProperties.CATEGORY_EXCLUSIONS)
+ .subCategory(CoreProperties.SUBCATEGORY_DUPLICATIONS_EXCLUSIONS)
.multiValues(true)
.build(),