static File getSourceFolder(MavenProject project)
  {
    final Properties projectProperties = project.getProperties();

    if (projectProperties.containsKey(XCodeDefaultConfigurationMojo.XCODE_SOURCE_DIRECTORY)) {
      return new File(project.getBasedir(),
            projectProperties.getProperty(XCodeDefaultConfigurationMojo.XCODE_SOURCE_DIRECTORY));
    }
    return new File(project.getBasedir(), XCodeDefaultConfigurationMojo.DEFAULT_XCODE_SOURCE_DIRECTORY);

  }
static File getSourceFolder ( MavenProject project ) { final Properties projectProperties = project . getProperties ( ) ; if ( projectProperties . containsKey ( XCodeDefaultConfigurationMojo . XCODE_SOURCE_DIRECTORY ) ) { return new File ( project . getBasedir ( ) , projectProperties . getProperty ( XCodeDefaultConfigurationMojo . XCODE_SOURCE_DIRECTORY ) ) ; } return new File ( project . getBasedir ( ) , XCodeDefaultConfigurationMojo . DEFAULT_XCODE_SOURCE_DIRECTORY ) ; }
Checks if the source folder location has been explicitly set by the "xcode.sourceDirectory". If
not the default "src/xcode" is returned.