From: Julien HENRY Date: Tue, 25 Jun 2013 16:16:30 +0000 (+0200) Subject: SONARPLUGINS-2979 Allow empty list for "sonar.sources" property X-Git-Tag: 2.5-rc1~123 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3ea6e19520c54014af84ebd4947a840dd1408fbf;p=sonar-scanner-cli.git SONARPLUGINS-2979 Allow empty list for "sonar.sources" property --- diff --git a/sonar-runner-batch/src/main/java/org/sonar/runner/batch/ProjectReactorBuilder.java b/sonar-runner-batch/src/main/java/org/sonar/runner/batch/ProjectReactorBuilder.java index 2c5e3f0..007a2b6 100644 --- a/sonar-runner-batch/src/main/java/org/sonar/runner/batch/ProjectReactorBuilder.java +++ b/sonar-runner-batch/src/main/java/org/sonar/runner/batch/ProjectReactorBuilder.java @@ -98,7 +98,7 @@ class ProjectReactorBuilder { * Array of all mandatory properties required for a project without child. */ private static final String[] MANDATORY_PROPERTIES_FOR_SIMPLE_PROJECT = { - PROPERTY_PROJECT_BASEDIR, PROPERTY_PROJECT_KEY, PROPERTY_PROJECT_NAME, PROPERTY_PROJECT_VERSION + PROPERTY_PROJECT_BASEDIR, PROPERTY_PROJECT_KEY, PROPERTY_PROJECT_NAME, PROPERTY_PROJECT_VERSION, PROPERTY_SOURCES }; /**