]> source.dussan.org Git - sonar-scanner-cli.git/commitdiff
SONARPLUGINS-2979 Allow empty list for "sonar.sources" property
authorJulien HENRY <julien.henry@sonarsource.com>
Tue, 25 Jun 2013 16:16:30 +0000 (18:16 +0200)
committerJulien HENRY <julien.henry@sonarsource.com>
Tue, 25 Jun 2013 16:16:30 +0000 (18:16 +0200)
sonar-runner-batch/src/main/java/org/sonar/runner/batch/ProjectReactorBuilder.java

index 2c5e3f0d5a5814742c731a003f83d10d7d3f5ce6..007a2b646d1011ccd240113b964ae4d06f810b2a 100644 (file)
@@ -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
   };
 
   /**