SonarQube Runner
  1. SonarQube Runner
  2. SONARUNNER-53

"sonar.libraries" should allow to specify folders

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      "sonar.libraries" currently allows to define:

      1. simple patterns to list JAR files, like "lib/*.jar"
      2. simple patterns to list class files, like "target/classes/*.class"

      However, the 2nd case does not work properly (it takes only class files located directly under the "target/classes"). This 2nd case should then be replaced to allow to specify a folder (absolute or relative path), like for instance "/foo/myProject/target/classes".

      We should therefore be able to have:

      sonar.libraries=lib/*.jar,/Users/foo/projectA/target/classes
      

      Use case:

      • Used by the Eclipse plugin to set the classes of a dependent project

        Issue Links

          Activity

          Hide
          Fabrice Bellingard added a comment -

          Tested!

          Show
          Fabrice Bellingard added a comment - Tested!

            People

            • Assignee:
              Simon Brandhof
              Reporter:
              Fabrice Bellingard
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: