This might be related, but in 1.5 the plugin is not producing the reports.

Details:

  • Multi-module project
  • Maven project
  • Goal: install
  • Post-steps: cobertura:cobertura

Result:

  • No coverage report produced (xml is in the workspace) [1]

Same setup, plugin version 1.3:

  • Coverage report produced correctly [2]

[1]
[INFO] Cobertura Report generation was successful.
[INFO] Cobertura 1.9.4.1 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
Cobertura: Loaded information on 53 classes.
Report time: 1670ms

[INFO] Cobertura Report generation was successful.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Parent .............................................. SUCCESS [2.882s]
[INFO] Model .............................................. SUCCESS [5.370s]
[INFO] Web ................................................. SUCCESS [33.970s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:40.478s
[INFO] Finished at: Wed Jul 25 13:08:43 WEST 2012
[INFO] Final Memory: 14M/35M
[INFO] ------------------------------------------------------------------------
Archiving workspace
Deleting old workspace snapshot from #412.
Skipping Cobertura coverage report as mojo did not run.
Finished: SUCCESS

[2]
[INFO] Cobertura Report generation was successful.
[INFO] Cobertura 1.9.4.1 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
Cobertura: Loaded information on 53 classes.
Report time: 2237ms

[INFO] Cobertura Report generation was successful.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Parent .............................................. SUCCESS [6.470s]
[INFO] Model ............................................... SUCCESS [5.247s]
[INFO] Web ................................................. SUCCESS [28.529s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:28.671s
[INFO] Finished at: Wed Jul 25 14:35:39 WEST 2012
[INFO] Final Memory: 14M/36M
[INFO] ------------------------------------------------------------------------
Archiving workspace
Deleting old workspace snapshot from #413.
Publishing Cobertura coverage report...
Publishing Cobertura coverage results...
Finished: SUCCESS

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to