Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-1348

Documentation of parameter "argLine" for goal "surefire:test" lacks mention of a key change made in v2.17

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.12, 2.12.1, 2.12.2, 2.12.3, 2.12.4, 2.13, 2.14, 2.14.1, 2.15, 2.16
    • 2.20
    • Maven Surefire Plugin
    • None

    Description

      The documentation for the argLine parameter here indicates "since v2.1" and the description refers to the @

      {argLine} syntax but doesn't mention that you have to be using surefire-maven-plugin v2.17 or greater for that functionality to work. See "SUREFIRE-1047 - Add @{...} property evaluation for the argLine".

      Probably the goal arguments page plus the FAQ page that it links to should be updated with a mention of the minimum required maven-surefire-plugin version.


      I noticed this while experiencing issue "SUREFIRE-1273". Resolution of that issue should have been simple but I was on surefire-maven-plugin v2.12 and the documentation made it appear that @{argLine}

      was supported since v2.1. I needed to upgrade but there wasn't any obvious indication of that.

      Attachments

        Activity

          People

            tibordigana Tibor Digana
            gjd6640 Gordon Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: