You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "jmborer (JIRA)" <ji...@apache.org> on 2018/12/01 10:47:00 UTC

[jira] [Comment Edited] (SUREFIRE-1604) "Surefire report directory" information is missing at the very beginning of execution for IDE integration

    [ https://issues.apache.org/jira/browse/SUREFIRE-1604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16705749#comment-16705749 ] 

jmborer edited comment on SUREFIRE-1604 at 12/1/18 10:46 AM:
-------------------------------------------------------------

Usually Netbeans does pretty decent job analyzing the POM. I am just jumping into the project and tried to fix existing code. I agree, log parsing is evil, but it is parsed anyway to enrich the output with links (like stacktrace navigation to the code).

Correct me if I am wrong, but when you use an IDE, the results of the Maven tests can only be found in the output, no?

So it is both a task the recognize patterns in the ouput to enrich it and use information from the contextual POM. This will be done in the future like this.


was (Author: jmborer):
Usually Netbeans does pretty decent job analyzing the POM. I am just jumping into the project and tried to fix existing code. I agree, log parsing is evil, but it is parsed anyway to enrich the output with links (like stacktrace navigation to the code). So it is both a task the recognize patterns in the ouput to enrich it and use information from the contextual POM. This will be done in the future like this.

> "Surefire report directory" information is missing at the very beginning of execution for IDE integration
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: SUREFIRE-1604
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1604
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Maven Surefire Plugin
>    Affects Versions: 2.19.1, 2.22.1
>            Reporter: jmborer
>            Assignee: Tibor Digana
>            Priority: Major
>
> Since 2.18.1, Surefire no longer prints by default the line:
> {noformat}
> Surefire report directory: <some directory>{noformat}
> 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)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)