Details

Description

A recent addition to the maven-android-plugin generates junit test output xml files. Currently the jenkins maven plugin does not recognise these and hence does not report the test results along with other junit test results.

SurefireArchiver.java in maven-plugin needs to recognise the
com.jayway.maven.plugins.android.generation2:maven-android-plugin/internal-integration-test mojo as producing test results.

I've started to create a patch that corrects this issue. I'll make it only accept 3.0.0-alpha-6 and later plugins. Also make it accept the new name android-maven-plugin that is in the pipeline. Initial testing is ok. Will issue a pull request later today.

I don't use 2.x series plugins any more so if you can test a pre-build that would be appreciated.

Richard Mortimer
added a comment - 28/Sep/11 1:36 PM I've started to create a patch that corrects this issue. I'll make it only accept 3.0.0-alpha-6 and later plugins. Also make it accept the new name android-maven-plugin that is in the pipeline. Initial testing is ok. Will issue a pull request later today.
I don't use 2.x series plugins any more so if you can test a pre-build that would be appreciated.

Earlier versions of the plugin (2.x and prior to 3.0.0-alpha6) do not produce
test reports and also do not accept the same configuration properties. Ignore
those earlier versions.
Also accept the new plugin name android-maven-plugin (changed to fit with
Maven plugin naming guidelines).

Earlier versions of the plugin (2.x and prior to 3.0.0-alpha6) do not produce
test reports and also do not accept the same configuration properties. Ignore
those earlier versions.
Also accept the new plugin name android-maven-plugin (changed to fit with
Maven plugin naming guidelines).