Preparing multi-module projects for remote deployment with Clover-for-Maven 2
This page contains instructions on preparing a multi-module project for remote deployment with Clover-for-Maven 2.
To prepare a multi-module project with Clover-for-Maven 2,
- Instrument the source with Clover and generate EAR/WAR file, then include the
clover.jarfile in thelibdirectory. - Deploy to application server and ensure Clover can find the registry at runtime.
- Copy the database, the
clover.dbfile to a directory in the test machine and specify the location in the Clover initstring. For details, see Documentation on setting Clover initstring. - If the project contains sub-modules, copy each database with its directory. For example:
Copy the text above into a location (as specified in the clover initstring) in the test machine. Alternatively, create databases with different names.
Sub-Module1\target\clover\clover.db - After the tests, copy all the databases to the build machine, run an aggregate goal (merge databases) and generate the reports from there.
Last modified on Nov 24, 2008
Powered by Confluence and Scroll Viewport.