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:
parent
5d7c956964
commit
21cf46d451
@ -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"/>
|
||||
|
||||
@ -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
|
||||
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user