[ https://issues.apache.org/jira/browse/SUREFIRE-1450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16307769#comment-16307769 ]
Hammad edited comment on SUREFIRE-1450 at 1/2/18 8:48 AM: ---------------------------------------------------------- as per [~krmahadevan] instructions, passed listener from command line argument instead of testng.xml tag, and its working as expected. !https://i.stack.imgur.com/Uvy1Q.png! was (Author: hammadhost): as per [~krmahadevan] instructions !https://i.stack.imgur.com/Uvy1Q.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 > 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)