<project 
   default="jar:install" 
   xmlns:j="jelly:core" 
   xmlns:m="jelly:maven" 
   xmlns:ant="jelly:ant" 
   xmlns:artifact="artifact"
   xmlns:deploy="deploy"
   >

   <preGoal name="java:compile">
        <path
            id="test.java.compile.src.set"
            location="${maven.src.dir}/generated"/>

       <m:addPath
            id="maven.compile.src.set"
            refid="test.java.compile.src.set"/>

        <j:set var="buildcompiler" value="${build.compiler}"/>
        <j:if test="${buildcompiler == 'org.apache.tools.ant.taskdefs.CloverCompilerAdapter'}">
           <attainGoal name="clover:on"/>
        </j:if>

   </preGoal>

</project>

