title: Code coverage of JBoss AS 7 testsuite, using JaCoCo - no data in jacoco.exec files
body: <p>I'm trying to get coverage of JBoss AS 7. Here's my branch:
  <a href="https://github.com/OndraZizka/jboss-as/tree/TS-jacoco" rel="nofollow">https://github.com/OndraZizka/jboss-as/tree/TS-jacoco</a></p>
  
  <p>When I run <code>mvn clean install -rf testsuite -DallTests -Dcoverage -fae</code> I get (almost) empty <code>jacoco.exec</code> files - just some metadata (size is few bytes).
  The JVM arg line used is:</p>
  
  <pre><code>-javaagent:${jbossas.ts.dir}/target/jacoco-jars/agent/jacocoagent.jar=destfile=${basedir}/target/jacoco.exec,includes=${jboss.home}/modules/**/*,excludes=${basedir}/target/classes/**/*,append=true,output=file
  </code></pre>
  
  <p>This line is passed to Arquillian to use to start JBoss AS 7.
  The testsuite runs, the argument is passed (it appears in AS7's boot.log), but the resulting <code>jacoco.exec</code> file is only few bytes in size. The report of course shows no coverage.</p>
  
  <p>What am I doing wrong?</p>