* and main mojos cannot share anything right now. See http://jira.codehaus.org/browse/MNG-1886.
*
*/
public static void registerCloverAntTasks(Project antProject, Log log)
{
antProject.addBuildListener(new MvnLogBuildListener(log));
Taskdef taskdef = (Taskdef) antProject.createTask( "taskdef" );
taskdef.init();
taskdef.setResource( "cloverlib.xml" );
taskdef.execute();
}