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

ASF GitHub Bot commented on SUREFIRE-1194:
------------------------------------------

Github user Tibor17 commented on the pull request:

    https://github.com/apache/maven-surefire/pull/107#issuecomment-164299087
  
    I use Maven 3.3.9 like you use.
    
    Do you have this path
    
`surefire-integration-tests/target/CheckTestNgListenerReporterIT_testNgListenerReporter_5.14.4`?
    
    I use Java 7 which is maybe the only one difference. 
    I added `.addGoal( "-X" )` in your IT class and TestNG 5.14.4 has 
dependencies with `<scope>compile</scope>` and the classpath in IT is 
    `[DEBUG] boot(compact) classpath:  surefire-booter-2.20-SNAPSHOT.jar  
surefire-api-2.20-SNAPSHOT.jar  test-classes  classes  testng-5.14.4.jar  
surefire-testng-utils-2.20-SNAPSHOT.jar  surefire-grouper-2.20-SNAPSHOT.jar  
surefire-testng-2.20-SNAPSHOT.jar  common-java5-2.20-SNAPSHOT.jar`
    
    I think Surefire has dependency resolution issue.


> reporter argument does not work for TestNG
> ------------------------------------------
>
>                 Key: SUREFIRE-1194
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1194
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: TestNG support
>    Affects Versions: 2.19
>            Reporter: Testo Nakada
>            Assignee: Tibor Digana
>             Fix For: 2.19.1
>
>
> TestNG plugin seems to map -reporter command line parameter to reporterslist 
> which was removed in TestNG project since 2010 
> (a4779524b59330e98ee596c5faa43ae1b33ff844). Therefore, this configuration has 
> stopped working since then. The configuration mentioned in 
> http://maven.apache.org/surefire/maven-surefire-plugin/examples/testng.html#Using_Custom_Listeners_and_Reporters
>  does not work as expected.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to