[
http://jira.codehaus.org/browse/SUREFIRE-362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dan Fabulich closed SUREFIRE-362.
---------------------------------
Resolution: Fixed
Fixed at some point in 2.4-SNAPSHOT trunk
> SurefireBooter does not recognise the Properties sent by SurefirePlugin
> -----------------------------------------------------------------------
>
> Key: SUREFIRE-362
> URL: http://jira.codehaus.org/browse/SUREFIRE-362
> Project: Maven Surefire
> Issue Type: Bug
> Components: TestNG support
> Affects Versions: 2.4
> Environment: Maven 2.0.7, Surefire SVN revision 587921, TestNG 4.7,
> 5.5
> Reporter: Tibor Varga
> Fix For: 2.4
>
> Attachments: project.tgz, SurefireBooter.diff
>
>
> 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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira