Class AnalysisProperties

java.lang.Object
org.sonarsource.scanner.lib.AnalysisProperties

public final class AnalysisProperties extends Object
Most commonly used properties for an analysis. See documentation for more details.
  • Field Details

    • PROJECT_KEY

      public static final String PROJECT_KEY
      Required project key
      See Also:
    • MODULE_KEY

      public static final String MODULE_KEY
      Used to define the exact key of each module. If PROJECT_KEY is used instead on a module, then final key of the module will be <parent module key>:<PROJECT_KEY>.
      Since:
      SonarQube 4.1
      See Also:
    • PROJECT_NAME

      public static final String PROJECT_NAME
      See Also:
    • PROJECT_VERSION

      public static final String PROJECT_VERSION
      See Also:
    • PROJECT_DESCRIPTION

      public static final String PROJECT_DESCRIPTION
      Optional description
      See Also:
    • PROJECT_SOURCE_DIRS

      public static final String PROJECT_SOURCE_DIRS
      Required paths to source directories, separated by commas, for example: "srcDir1,srcDir2"
      See Also:
    • PROJECT_TEST_DIRS

      public static final String PROJECT_TEST_DIRS
      Optional paths to test directories, separated by commas, for example: "testDir1,testDir2"
      See Also:
    • PROJECT_BASEDIR

      public static final String PROJECT_BASEDIR
      Property used to specify the base directory of the project to analyse. Default is ".".
      See Also:
    • PROJECT_SOURCE_ENCODING

      public static final String PROJECT_SOURCE_ENCODING
      Encoding of source and test files. By default, it's the platform encoding.
      See Also: