[
https://issues.apache.org/jira/browse/SUREFIRE-1450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16307434#comment-16307434
]
Hammad edited comment on SUREFIRE-1450 at 1/1/18 1:08 PM:
----------------------------------------------------------
!https://i.stack.imgur.com/ESBPi.png!
>From command line testng listeners are working fine JDK9. So I assume its
>sure-fire issue.
And by not working I mean when I execute listener with property tag from pom, I
don't see any output in jdk9 case.
!https://i.stack.imgur.com/gBglc.png!
<property>
<name>listener</name>
<value>poc.config.MyCustomListener</value>
</property>
This is the POM part.
was (Author: hammadhost):
!https://i.stack.imgur.com/ESBPi.png!
>From command line testng listeners are working fine JDK9. So I assume its
>sure-fire issue.
And by not working I mean when I execute listener with property tag from pom, I
don't see any output in jdk9 case.
!https://i.stack.imgur.com/gBglc.png!
> TestNG Listener aren't working from Property Tag in POM.xml With JDK9
> ---------------------------------------------------------------------
>
> Key: SUREFIRE-1450
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1450
> Project: Maven Surefire
> Issue Type: Bug
> Components: Maven Failsafe Plugin, Maven Surefire Plugin, TestNG
> support
> Affects Versions: 2.20.1
> Environment: macOS + Ubuntu, JDK9
> Reporter: Hammad
> Assignee: Tibor Digana
> Labels: newbie
>
> TestNG Listener are not working when using:
> Maven = Apache Maven 3.5.2
> JDK9 on either platform (sierra+ubuntu)
> Here is relevant repo: https://github.com/HammadHost/poc_testng_surefire
> I executed it with jdk8 in same environment listener did work, but they
> aren't working with JDK9
> FYI:
> https://stackoverflow.com/questions/47560412/maven-surefire-is-not-respecting-testng-listeners-in-property-tag
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)