Add excludes param for instrumentation

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114761 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
evenisse 2004-02-27 18:01:57 +00:00
parent 5d7c956964
commit 21cf46d451
3 changed files with 10 additions and 0 deletions

View File

@ -105,6 +105,7 @@
<instrument todir="${maven.jcoverage.instrumentation}">
<ant:fileset dir="${maven.build.dest}">
<ant:include name="**/*.class" />
<ant:exclude name="${maven.jcoverage.instrumentation.excludes}" />
</ant:fileset>
<ant:classpath>
<ant:path refid="jcoverage.classpath"/>

View File

@ -3,3 +3,4 @@ maven.jcoverage.instrumentation=${maven.jcoverage.dir}/classes
maven.jcoverage.database.dir=${maven.jcoverage.dir}/database
maven.jcoverage.junit.fork=yes
maven.jcoverage.report.template=maven
maven.jcoverage.instrumentation.excludes=NOT_DEFINED

View File

@ -30,6 +30,14 @@
Specifies the build directory for the instrumented classes.
</td>
</tr>
<tr>
<td>maven.jcoverage.instrumentation.excludes</td>
<td>Not defined</td>
<td>Yes</td>
<td>
Specifies the pattern for the excluded classes of instrumentation.
</td>
</tr>
<!--tr>
<td>maven.jcoverage.database.dir</td>
<td>${maven.jcoverage.dir}/database</td>