SonarQube Plugins
  1. SonarQube Plugins
  2. SONARPLUGINS-1674

When the mandatory 'key' and/or 'version' properties of the Sonar Ant task are not define we get a NullPointerException instead of a meaningful message

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: ANT-TASK-1.4
    • Component/s: Ant Task
    • Labels:
      None
    • Number of attachments :
      0

      Description

      The expected format is

      <sonar:sonar key="org.sonar.ant.tests:java-without-bytecode" version="0.1-SNAPSHOT">
      

      and we get an exception when one of the two properties is missing, for instance :

      <sonar:sonar version="0.1-SNAPSHOT">
      

        Issue Links

          Activity

          Hide
          Freddy Mallet added a comment -

          Manually tested !

          Show
          Freddy Mallet added a comment - Manually tested !

            People

            • Assignee:
              Fabrice Bellingard
              Reporter:
              Freddy Mallet
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: