Now supports several compile and test directory sets.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114446 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
xmlns:j="jelly:core"
|
||||
xmlns:ant="jelly:ant"
|
||||
xmlns:x="jelly:xml"
|
||||
xmlns:maven="jelly:maven"
|
||||
xmlns:assert="assert">
|
||||
|
||||
<goal name="testPlugin">
|
||||
@@ -10,6 +11,15 @@
|
||||
<!-- Fixture -->
|
||||
<attainGoal name="clean"/>
|
||||
|
||||
<!-- Make sure (to some extent) that we support multiple source and
|
||||
test paths -->
|
||||
<ant:mkdir dir="${maven.build.dir}/clovertestdir"/>
|
||||
<ant:path id="test.classpath">
|
||||
<ant:pathelement path="${maven.build.dir}/clovertestdir"/>
|
||||
</ant:path>
|
||||
<maven:addPath id="maven.compile.src.set" refid="test.classpath"/>
|
||||
<maven:addPath id="maven.test.compile.src.set" refid="test.classpath"/>
|
||||
|
||||
<!-- Call goal to test -->
|
||||
<attainGoal name="site"/>
|
||||
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
maven.clover.report.xml = true
|
||||
maven.clover.instrument.tests = true
|
||||
|
||||
Reference in New Issue
Block a user