PR: MPCLOVER-15

Make maven.clover.jar work


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115461 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
brett 2004-06-12 04:52:28 +00:00
parent a14b285d05
commit d3eb8282a7
3 changed files with 8 additions and 11 deletions

View File

@ -51,25 +51,22 @@
<ant:path id="clover.classpath">
<j:choose>
<j:when test="${context.getVariable('maven.clover.jar') != null}">
<ant:pathelement path="${maven.clover.jar}"/>
<ant:pathelement location="${maven.clover.jar}"/>
</j:when>
<j:otherwise>
<ant:pathelement path="${plugin.getDependencyPath('clover')}"/>
<ant:pathelement location="${plugin.getDependencyPath('clover')}"/>
</j:otherwise>
</j:choose>
</ant:path>
<ant:taskdef resource="clovertasks"/>
<ant:typedef resource="clovertypes"/>
<ant:taskdef resource="clovertasks" classpathref="clover.classpath" />
<ant:typedef resource="clovertypes" classpathref="clover.classpath" />
<j:set var="cloverDatabase"
value="${maven.clover.database.dir}/clover_coverage.db"/>
<j:set var="cloverReportDirectory" value="${maven.docs.dest}/clover"/>
<!-- Allow users to override the version of the Clover jar to use -->
<maven:addPath id="maven.dependency.classpath" refid="clover.classpath"/>
<ant:mkdir dir="${maven.clover.build.classes}"/>
<ant:mkdir dir="${maven.clover.database.dir}"/>
<ant:mkdir dir="${cloverReportDirectory}"/>

View File

@ -23,7 +23,7 @@
<pomVersion>3</pomVersion>
<id>maven-clover-plugin</id>
<name>Maven Clover Plugin</name>
<currentVersion>1.5</currentVersion>
<currentVersion>1.6-SNAPSHOT</currentVersion>
<description/>
<shortDescription>Produce Clover reports</shortDescription>
<url>http://maven.apache.org/reference/plugins/clover/</url>
@ -104,9 +104,6 @@
<groupId>clover</groupId>
<artifactId>clover</artifactId>
<version>1.2.3</version>
<properties>
<classloader>root</classloader>
</properties>
</dependency>
</dependencies>
</project>

View File

@ -25,6 +25,9 @@
<author email="evenisse@ifrance.com">Emmanuel Venisse</author>
</properties>
<body>
<release version="1.6-SNAPSHOT" date="in CVS">
<action dev="brett" type="fix" issue="MPCLOVER-15">Make maven.clover.jar work</action>
</release>
<release version="1.5" date="2004-05-15">
<action dev="vmassol" type="fix">Do not execute Clover if there are no tests to run Clover on. This prevents an error happening in the
<code>clover:on</code>goal.