From 3ea6e19520c54014af84ebd4947a840dd1408fbf Mon Sep 17 00:00:00 2001 From: Julien HENRY Date: Tue, 25 Jun 2013 18:16:30 +0200 Subject: [PATCH] SONARPLUGINS-2979 Allow empty list for "sonar.sources" property --- .../main/java/org/sonar/runner/batch/ProjectReactorBuilder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }; /** -- 2.39.5