SonarQube Eclipse
  1. SonarQube Eclipse
  2. SONARIDE-359

Don't add non existing source entries to local analysis

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: 3.1
    • Component/s: Java
    • Labels:
      None
    • Number of attachments :
      0

      Description

      When you import a Maven project in Eclipse m2e will create source folders src/main/java, src/test/java even if they don't exists. These folders are flagged as optional in .classpath so Eclipse doesn't complain but Sonar will.

      We should test if the folder exists before adding it to sonar.sources.

      For reference: https://github.com/scala-ide/scala-ide/pull/262

        Activity

        Hide
        Fabrice Bellingard added a comment -

        Manually tested.

        Show
        Fabrice Bellingard added a comment - Manually tested.
        Hide
        Julien HENRY added a comment -

        IT added

        Show
        Julien HENRY added a comment - IT added

          People

          • Assignee:
            Julien HENRY
            Reporter:
            Julien HENRY
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: