19 Commits

Author SHA1 Message Date
vmassol
3144c23f3f Removed the <code>maven.clover.jar</code> property that was used to override the default Clover jar. This property was not working (it requires Ant 1.6) and is no needed anymore as Cenqua has cleanly separated the Clover jar from the Clover license. You only need to point <code>maven.clover.license.path</code> to your license file.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@171202 13f79535-47bb-0310-9956-ffa450edef68
2005-05-21 11:08:50 +00:00
vmassol
98d793400e - Added a quick usage guide in the documentation.
- Fixed issue where <code>clover:report</code> was not calling <code>clover:on</code> leading to an error when generating the reports.
- Ensure that <code>clover:init</code>, <code>clover:on</code> and <code>clover:off</code> can only be called once. For example calling <code>clover:on</code> twice in a row will execute it only once.
- The <code>clover:*-report</code> goals do not call <code>clover:test</code> anymore. They only generates Clover reports. This is now aligned with the <code>clover:report</code> behavior. To run the full thing, execute the <code>clover</code> goal or add the Clover report to your project's POM.
- Added a <code>maven.clover.multiproject</code> property that should be set to true in your master project (if you're using a multiproject setup). Setting it to true will make the <code>clover</code> goal and the <code>maven-clover-plugin</code> report in your POM execute on all subprojects (they'll call the new <code>clover:multiproject</code> goal).
- New <code>clover:multiproject</code> goal to run Clover on a multiproject setup.
- New <code>clover:merge</code> goal that creates a new Clover database by merging several other databases specified using the <code>maven.clover.merge.databases</code> property (which defaults to <code>**/clover_coverage.db</code>).


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@169652 13f79535-47bb-0310-9956-ffa450edef68
2005-05-11 16:28:26 +00:00
vmassol
5386f83f07 MPCLOVER-31: Added PDF report generation
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@160064 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 17:32:23 +00:00
vmassol
c65713089e Added support for historical reports by adding a new <code>clover:save-history</code> goal that saves a Clover history point. The history points are then used by <code>clover:report</code> to generate history reports (including a link on the Maven-generated website).
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@155182 13f79535-47bb-0310-9956-ffa450edef68
2005-02-24 12:39:06 +00:00
vmassol
c84cae6dfb Add support for method, statement and block context filtering through the following properties: <code>maven.clover.context.block.names</code>, <code>maven.clover.context.method.names</code>, <code>maven.clover.context.method.regexps</code>, <code>maven.clover.context.statement.names</code> and <code>maven.clover.context.statement.regexps</code>.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@154865 13f79535-47bb-0310-9956-ffa450edef68
2005-02-22 16:03:19 +00:00
vmassol
2685a5b196 Added new <code>clover:check</code> goal that verifies if the test coverage if above a threshold defined by the properties <code>maven.clover.check.target</code>, <code>maven.clover.check.packages</code> and <code>maven.clover.check.targets</code>. It fails the build if it's below.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@154360 13f79535-47bb-0310-9956-ffa450edef68
2005-02-18 22:17:54 +00:00
vmassol
a5da0e7d1d Changed the location of the default license. It is now bundled in the plugin and the plugin no longer downloads it from your remote repository. As before if you wish to use your own license use the property.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@154010 13f79535-47bb-0310-9956-ffa450edef68
2005-02-16 08:21:07 +00:00
vmassol
605cce19dd 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.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@153422 13f79535-47bb-0310-9956-ffa450edef68
2005-02-11 17:06:48 +00:00
vmassol
10b1738df2 - Reorganized the plugin tests using a multiproject approach
- MPCLOVER-18: Added new <code>maven.clover.execute.during.report</code> property to control whether or not the <code>clover-report</code> goal builds Cloverify the sources and execute the tests (defaults to true).


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@153413 13f79535-47bb-0310-9956-ffa450edef68
2005-02-11 15:38:52 +00:00
vmassol
9b6891b63c - MPCLOVER-24: Deprecated <code>maven.clover.database.dir</code> property and replaced it with a <code>maven.cover.database</code> property that contains not only the database directory but also the name of the database file.
- MPCLOVER-28: <code>clover:off</clover> should now reset correctly the <code>maven.build.dest</code> property that <code>clover:on</code> modifies. Note that the reported error has been fixed even though I have not been able to reproduce the problem (and hence we don't have a test for it).
- MPCLOVER-26: Upgraded Clover to version 1.3.4.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@153185 13f79535-47bb-0310-9956-ffa450edef68
2005-02-10 07:29:43 +00:00
vmassol
98f8bc6611 Added ability for users to specify their own Clover license file by overriding the new <code>maven.clover.license.path</code> property.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115950 13f79535-47bb-0310-9956-ffa450edef68
2004-08-11 09:54:29 +00:00
vmassol
1bdd755463 - Fixed plugin test
- Added developement documentation
- Cleaned up plugin.jelly
- Fixed clover:on goal which should be able to be considered as a public goal now. Need more test though. If it works fine, it should be documented to goals.xml.
- Added clover:off goal (internal goal for now) that restores properties in same state before call to clover:on


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114973 13f79535-47bb-0310-9956-ffa450edef68
2004-04-02 21:12:02 +00:00
evenisse
9a278f5c42 Update to ASL v.2
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114791 13f79535-47bb-0310-9956-ffa450edef68
2004-03-04 18:05:31 +00:00
vmassol
586924c6b9 Allows the user to override the Clover jar. This is especially useful as the Clover jars are license-signed for a specific project so you might want to use different jars for different projects.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114451 13f79535-47bb-0310-9956-ffa450edef68
2003-12-05 17:38:39 +00:00
vmassol
63bd98ded5 Conditionally instrument test classes too. To instrument test classes set the <code>maven.clover.instrument.tests</code> to <code>true</code>.
Note: This feature is still limited. it will only work if there is one path in maven.compile.src.set and maven.test.compile.src.set Ant paths


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114443 13f79535-47bb-0310-9956-ffa450edef68
2003-12-04 21:46:36 +00:00
vmassol
226a5936b5 Added optional properties to decide what reports to generate. Added a <code>clover:report</code> goal which generates all the defined reports. The default is to generate only the HTML report.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114265 13f79535-47bb-0310-9956-ffa450edef68
2003-11-05 19:01:47 +00:00
dion
743b0e4293 Apply MAVEN-819
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114086 13f79535-47bb-0310-9956-ffa450edef68
2003-09-24 05:14:53 +00:00
bwalding
4cf0745242 I'm not going to pretend that this works very well.
* Flushpolicy - it's just a hack that we have a 500ms flush interval.  Should be 
	allowed to flush with an ant task
* Basically clover 1.2 sort of works, want to check something that reasonably works
in before I break it again.
PR: MAVEN-372


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113481 13f79535-47bb-0310-9956-ffa450edef68
2003-06-10 13:22:47 +00:00
jvanzyl
530c640d4f Initial revision
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112724 13f79535-47bb-0310-9956-ffa450edef68
2003-01-24 03:44:26 +00:00