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 the
- 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:
- After the tests, copy all the databases to the build machine, run an aggregate goal (merge databases) and generate the reports from there.