Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.4
-
None
-
Maven 2.0.7, Surefire SVN revision 587921, TestNG 4.7, 5.5
-
Patch
Description
The SurefirePlugin defines the new way of configuring TestNG by means of a Properties object. This object is passed to the SurefireBooter but it fails to recognise it.
[INFO] [surefire:test]
[INFO] Surefire report directory: /Users/tibvarga/work/test/project/target/surefire-reports
java.lang.IllegalArgumentException: Unknown parameter type: java.util.Properties
at org.apache.maven.surefire.booter.SurefireBooter.constructParamObjects(SurefireBooter.java:817)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:872)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
Attached is a project demonstrating the issue and a patch that resolves it, although in my view quite an ugly one.
Attachments
Attachments
Issue Links
- is depended upon by
-
SUREFIRE-363 The maven-surefire-plugin fails with a NoSuchMethodException.
- Closed