maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tibor17 <...@git.apache.org>
Subject [GitHub] maven-surefire pull request: [SUREFIRE-1194] reporter argument doe...
Date Sun, 13 Dec 2015 17:38:28 GMT
Github user Tibor17 commented on the pull request:

    https://github.com/apache/maven-surefire/pull/107#issuecomment-164279434
  
    I have reproduced the issue and the error is really true because the `testng-5.14.4.jar`
really does not contain the class `com/beust/jcommander/ParameterException`.
    Please extract your JAR file and you will see that the class is missing.
    There are two Maven repositories where you can find such Maven artifact:
    1. Maven local repository
    2. `surefire-setup-integration-tests/target/it-repo`
    Sometimes it is useful to delete artifacts `org/testng/testng` from Maven local repository.
    Please make a clone from your GitHub as I did, launch tests as I did and you can then
compare the sources (maybe something was not committed):
    1. `$ mvn -V` prints
        `Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 14:51:28+0100)`
    See environment variable `M2_HOME`.
    2. delete artifacts `org/testng/testng` from Maven local repository
    3. make the clone in folder SUREFIRE-1194
    `$ git clone -b surefire-1194 https://github.com/juherr/maven-surefire.git SUREFIRE-1194`
    `cd SUREFIRE-1194`
    4. edit `surefire-integration-tests/pom.xml` and replace `*IT*` with `CheckTestNgListenerReporterIT`.
    5. run `$ mvn -P run-its install`


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message