maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jmborer (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (SUREFIRE-1604) "Surefire report directory" information is missing at the very beginning of execution for IDE integration
Date Sat, 01 Dec 2018 11:40:00 GMT

    [ 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 11:39 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?

May I ask you, if you know if the other IDE's get the surefire reports location dynamically
from the running process of Maven or if they introspect the content of the resulting POM?
In latter case, how do they know the location of the reports, because this information is
implicit and not explicitely expressed?

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).

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.

> "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)

Mime
View raw message