[
https://issues.apache.org/jira/browse/NETBEANS-635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16704489#comment-16704489
]
jmborer commented on NETBEANS-635:
----------------------------------
Thank you Arnaud. IMHO, it won't be possible to fix TestOutputListenerProvider
to support both surefire and failsafe as they are two different plugins with
their own report dirs and specific behaviors.
A better idea would be to refactor TestOutputListenerProvider into
SurefireOutputListenerProvider and FailsafeOutputListenerProvider that will
respectively process surefire and failsafe outputs.
> Surefire 2.19.1 (and later) stacktrace hyperlinks don't work with Maven
> -----------------------------------------------------------------------
>
> Key: NETBEANS-635
> URL: https://issues.apache.org/jira/browse/NETBEANS-635
> Project: NetBeans
> Issue Type: Bug
> Components: projects - Maven
> Affects Versions: 8.2, 9.0
> Reporter: jmborer
> Priority: Major
> Labels: pull-request-available
> Attachments: mavenproject3.zip, surefire-2.18.1-.png,
> surefire-2.18.1-logging-output.txt, surefire-2.18.1-output.txt,
> surefire-2.19.1-.png, surefire-2.19.1-logging-output.txt,
> surefire-2.19.1-output.txt, surefire-2.22.1-.png,
> surefire-2.22.1-logging-output.txt, surefire-2.22.1-output.txt,
> surefire-3.0.0-M3-logging-output.txt, surefire-3.0.0-M3-output.txt,
> target-2.18.1.zip, target-2.19.1.zip, target-2.22.1.zip
>
> Time Spent: 3.5h
> Remaining Estimate: 0h
>
> When running tests with surefire 2.19.1, to see the stacktrace, make sure the
> plugin is configured as following:
> {code:java}
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-surefire-plugin</artifactId>
> <version>2.19.1</version>
> <configuration>
> <trimStackTrace>false</trimStackTrace>
> </configuration>
> </plugin>{code}
> Then you will see the stacktraces in the output. Even though they are
> recognized as being hyperlinks, when you click on them, nothing happens and
> in the status bar of Netbeans it says that the source file cannot be found.
> This works perfectly with surefire 2.18.1. Something changed between these
> versions.
> Related topics:
> [1] [https://netbeans.org/bugzilla/show_bug.cgi?id=257563]
> [2] [https://netbeans.org/bugzilla/show_bug.cgi?id=222587]
> [3] [https://netbeans.org/bugzilla/show_bug.cgi?id=262207]
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists