In Brett's comment of 9 August above, he stated the that among the preconditions for going forward with the backport of the surefire plugin to M1 was that the "...m2 surefire plugin gets up to feature level of m1 test plugin ".
A naive survey of the situation might lead someone to believe that such an event might be a long way off, for 3 reasons:
1) the surefire plugin does not generate an XML for JUnit tests
2) a JUnit report contains in addition to the test case results, a whole list of properities and values from the underlying Ant environment, since M1 is executing the Ant JUnit task
3) the current surefire plugin works, andf there are plenty of things that don't work
, so why invest core team energy where it isn't required to meet upcoming deliveries?
As an outsider with no coding assignments, and having volunteered to work on this, I've been looking at the surefire report package and at the Ant JUnit optional task package, and some sort of XML report of the test results shouldn't be too hard to come up with, but I have understood from the users list that there is no agreement on a candidate "properties set" that would be added to the XML report to provide a feature level match.
I'm sure that I've left out other features towards the feature level. If someone would be willing to enumerate them, I'd be willing to take a crack at adding them.
In Trygve's comment above of 23 August, he spoke about creating an infrastructure for embedding M2 into an M1 environment. Has anyone made any progress on that, and if so, where would I look to find the code?
One more question if you will, is there any reason why I shouldn't go ahead and rework the m1 test plugin and the m1 itest plugin by modifying the existing jelly code and either 1) refactoring some behavior or 2) simply exposing all of the necessary configurable parameters of the test plugin?
I recently posted to the Maven Users list, stating that I was going to work on the Jelly maven-test-plugin and attempt to allow all of the user visible properties to be set, rather than to have some be linked directly to properties in the POM.
Brett responded that such were the goals of the surefire plugin. I see in this entry that the surefire integration is scheduled for 1.1-beta-2, but, and I hope that you'll forgive me, I haven't been able to figure out when that release is scheduled to take place. Given that I don't want to take on a task that is likely to be superceeded quickly after its release, would someone be willing to comment on the likely date of the beta-2 release and the likelihood that an integrated surefire plugin will be available in that release. Thanks.