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

Tibor Digana commented on SUREFIRE-1450:
----------------------------------------

If the listener is specified in testng.xml, then the Surefire cannot
extract the listener and this has to be fully controlled by TestNG library.
What is your problem when using Maven? Is it the case you use Java 9 and
listener specified in POM or in testng.xml?




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

Reply via email to