public void apply() {
if (!reactor.getProjects().isEmpty() && StringUtils.isNotBlank(reactor.getProjects().get(0).getKey())) {
LOG.info("Apply project exclusions");
+
+ if (settings.hasKey(CoreProperties.CORE_INCLUDED_MODULES_PROPERTY)) {
+ LOG.warn("'sonar.includedModules' property is deprecated since version 4.3 and should not be used anymore.");
+ }
+ if (settings.hasKey(CoreProperties.CORE_SKIPPED_MODULES_PROPERTY)) {
+ LOG.warn("'sonar.skippedModules' property is deprecated since version 4.3 and should not be used anymore.");
+ }
+
for (ProjectDefinition project : reactor.getProjects()) {
if (isExcluded(key(project), project == reactor.getRoot())) {
exclude(project);
String CORE_VIOLATION_LOCALE_DEFAULT_VALUE = "en";
String CORE_IMPORT_SOURCES_PROPERTY = "sonar.importSources";
boolean CORE_IMPORT_SOURCES_DEFAULT_VALUE = true;
+
+ /**
+ * @deprecated since 4.3. See http://jira.codehaus.org/browse/SONAR-5109
+ */
+ @Deprecated
String CORE_SKIPPED_MODULES_PROPERTY = "sonar.skippedModules";
+
String CORE_RULE_WEIGHTS_PROPERTY = "sonar.core.rule.weight";
String CORE_RULE_WEIGHTS_DEFAULT_VALUE = "INFO=0;MINOR=1;MAJOR=3;CRITICAL=5;BLOCKER=10";
/**
* @since 4.0
+ * @deprecated since 4.3. See http://jira.codehaus.org/browse/SONAR-5109
*/
+ @Deprecated
String CORE_INCLUDED_MODULES_PROPERTY = "sonar.includedModules";
/**