Author: vmassol Date: Fri Feb 11 09:06:48 2005 New Revision: 153422 URL: http://svn.apache.org/viewcvs?view=rev&rev=153422 Log: MPCLOVER-25: Added <code>maven.clover.includes</code> and <code>maven.clover.excludes</code> properties to specify what files to include/exclude from the Cloverification. Thanks to Michael Gaffney.
Modified: maven/maven-1/plugins/trunk/clover/plugin.jelly maven/maven-1/plugins/trunk/clover/plugin.properties maven/maven-1/plugins/trunk/clover/xdocs/changes.xml maven/maven-1/plugins/trunk/clover/xdocs/properties.xml Modified: maven/maven-1/plugins/trunk/clover/plugin.jelly URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/clover/plugin.jelly?view=diff&r1=153421&r2=153422 ============================================================================== --- maven/maven-1/plugins/trunk/clover/plugin.jelly (original) +++ maven/maven-1/plugins/trunk/clover/plugin.jelly Fri Feb 11 09:06:48 2005 @@ -140,9 +140,9 @@ flushinterval="500"> <j:forEach var="srcDir" items="${srcDirs}"> - <ant:fileset dir="${srcDir}"> - <ant:include name="**/*.java"/> - </ant:fileset> + <ant:fileset dir="${srcDir}" + includes="${maven.clover.includes}" + excludes="${maven.clover.excludes}"/> </j:forEach> <!-- Conditionally instrument test code --> @@ -153,9 +153,9 @@ <u:tokenize var="testDirs" delim="||||">${testSrcSetString}</u:tokenize> <j:forEach var="testDir" items="${testDirs}"> - <ant:fileset dir="${testDir}"> - <ant:include name="**/*.java"/> - </ant:fileset> + <ant:fileset dir="${testDir}" + includes="${maven.clover.includes}" + excludes="${maven.clover.excludes}"/> </j:forEach> </j:if> Modified: maven/maven-1/plugins/trunk/clover/plugin.properties URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/clover/plugin.properties?view=diff&r1=153421&r2=153422 ============================================================================== --- maven/maven-1/plugins/trunk/clover/plugin.properties (original) +++ maven/maven-1/plugins/trunk/clover/plugin.properties Fri Feb 11 09:06:48 2005 @@ -47,11 +47,15 @@ maven.clover.license.path = ${plugin.getDependencyPath('clover:clover-license')} # What are the reports that should be generated -maven.clover.report.html=true -maven.clover.report.xml=false -maven.clover.report.swing=false +maven.clover.report.html = true +maven.clover.report.xml = false +maven.clover.report.swing = false # Decide whether to execute generate Clover data during the site report # generation or not. If false, the plugin will only generate Clover reports # based on an existing Clover database. maven.clover.execute.during.report = true + +# List of files to include/exclude from Cloverification +maven.clover.includes = **/*.java +maven.clover.excludes = Modified: maven/maven-1/plugins/trunk/clover/xdocs/changes.xml URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/clover/xdocs/changes.xml?view=diff&r1=153421&r2=153422 ============================================================================== --- maven/maven-1/plugins/trunk/clover/xdocs/changes.xml (original) +++ maven/maven-1/plugins/trunk/clover/xdocs/changes.xml Fri Feb 11 09:06:48 2005 @@ -26,6 +26,11 @@ </properties> <body> <release version="1.7-SNAPSHOT" date="in SVN"> + <action dev="vmassol" type="add" issue="MPCLOVER-25" due-to="Michael Gaffney"> + Added <code>maven.clover.includes</code> and + <code>maven.clover.excludes</code> properties to specify what files + to include/exclude from the Cloverification. + </action> <action dev="vmassol" type="update" issue="MPCLOVER-18"> Added new <code>maven.clover.execute.during.report</code> property to control whether or not the <code>clover-report</code> Modified: maven/maven-1/plugins/trunk/clover/xdocs/properties.xml URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/clover/xdocs/properties.xml?view=diff&r1=153421&r2=153422 ============================================================================== --- maven/maven-1/plugins/trunk/clover/xdocs/properties.xml (original) +++ maven/maven-1/plugins/trunk/clover/xdocs/properties.xml Fri Feb 11 09:06:48 2005 @@ -134,6 +134,26 @@ <code>true</code> </td> </tr> + <tr> + <td>maven.clover.includes</td> + <td>Yes</td> + <td> + List of files to include in the Cloverification. + </td> + <td> + <code>**/*.java</code> + </td> + </tr> + <tr> + <td>maven.clover.excludes</td> + <td>Yes</td> + <td> + List of files to exclude from the Cloverification. + </td> + <td> + <code></code> + </td> + </tr> </table> </section> </body> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]