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

"Surefire report directory" information is missing at the very beginning of execution for IDE integration

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Bug
    • Affects Version/s: 2.19.1, 2.22.1
    • Fix Version/s: None
    • Component/s: Maven Surefire Plugin
    • Labels:
      None

      Description

      Since 2.18.1, Surefire no longer prints by default the line:

      Surefire report directory: <some directory>

      This information is really useful for IDE integration like in Netbeans, where users want to click on links in the report that brings them to the build directory. This line reappears if the "-e" option is used, but it brings with it unecessary additional info as well.

      Because the IDE is parsing the output, it must know the location of the reports before the first results are displayed. Currently it is possible to guess the reports directory by using the default location, but as soon as a user defines a custom location, Netbeans for example won't be able to locate the new directory early enough (seeĀ https://issues.apache.org/jira/browse/NETBEANS-635)

      The code has changed in VerifyMojo,java line 171 (version 2.22.1)

        Attachments

          Activity

            People

            • Assignee:
              tibordigana Tibor Digana
              Reporter:
              jmborer Jean-Marc Borer
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: