title: JaCoCo plugin between Maven and Ant
body: <p>I'm trying to run my project using Ant both for unit test and code coverage over the tested code and reports of these two. Before I used Maven, but I need a report customization and find it easier with Ant. JUnit was imported automatically when I generate the build.xml from Eclipse : </p>
  
  <pre><code>&lt;pathelement location="../../../../.m2/repository/junit/junit/4.12/junit-4.12.jar"/&gt;
  </code></pre>
  
  <p>No I would like to add also the JaCoCo in my Ant build so I can run both Junit and the latter at the same time. In a lot of guides I find on the web i always find something like:</p>
  
  <pre><code>&lt;!-- Step 1: Import JaCoCo Ant tasks --&gt;
  &lt;taskdef uri="antlib:org.jacoco.ant" resource="org/jacoco/ant/antlib.xml"&gt;
      &lt;classpath path="../../../lib/jacocoant.jar" /&gt;
  &lt;/taskdef&gt;
  </code></pre>
  
  <p>I can easily find the jacocoant.jar file if I download the JaCoCo from the official file, but I would like to download it automatically from a dependency manager like Maven (or similar) but, after a lot of tries, I can't find the corresponding of "jacocoant.jar" through the Maven dependencies, so at the moment I can't add to JaCoCo to my Ant build.</p>
  
  <p>There's a way to make this possible? </p>
  
  <p>Thanks for the attention!</p>