48 Commits

Author SHA1 Message Date
vmassol
bafb136d36 MPCLOVER-21: Do not create a Clover report link when the project has no tests.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@153426 13f79535-47bb-0310-9956-ffa450edef68
2005-02-11 17:40:41 +00:00
vmassol
7dd376ceee Fixed attribution... Sorry for the mistake.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@153425 13f79535-47bb-0310-9956-ffa450edef68
2005-02-11 17:24:10 +00:00
vmassol
ceafca8f59 MPCLOVER-22: Open Clover report page in a new window in the same manner as it's done for the Javadoc and XRef reports. Thanks to Mike Gabelmann.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@153424 13f79535-47bb-0310-9956-ffa450edef68
2005-02-11 17:22:40 +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
ef17d78f52 fixed typo
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@153415 13f79535-47bb-0310-9956-ffa450edef68
2005-02-11 15:44:51 +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
bce1589140 MPCLOVER-29: fixed typo
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@153404 13f79535-47bb-0310-9956-ffa450edef68
2005-02-11 14:36:14 +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
ccb9359947 Work on 1.7 version is open...
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@116109 13f79535-47bb-0310-9956-ffa450edef68
2004-09-30 12:35:09 +00:00
vmassol
d384aea57f Fixed typo and set the release date as it failed when running maven maven scm:prepare-release due to typo
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@116107 13f79535-47bb-0310-9956-ffa450edef68
2004-09-30 12:26:36 +00:00
vmassol
230a3b920d MPCLOVER-23. The default compiler was not reset after the execution of the <code>clover:report/code> goal.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@116105 13f79535-47bb-0310-9956-ffa450edef68
2004-09-30 12:19:50 +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
52892d03bf - Made the following goals public by documenting them: <code>clover:report</code>, <code>clover:on</code>, <code>clover:off</code>, <code>clover:test</code>, <code>clover:test-single</code>
- Added new <code>clover:test-single</code> goal to execute a single test case and to view the test coverage result directly using the Clover Swing viewer. This is useful if you wish to quickly see the action that a single unit test has on the code it tests.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115838 13f79535-47bb-0310-9956-ffa450edef68
2004-07-16 18:36:26 +00:00
vmassol
d0223f1eb1 Now using <code>maven:get</code> and <code>maven:set</code>.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115835 13f79535-47bb-0310-9956-ffa450edef68
2004-07-16 13:24:00 +00:00
vmassol
f378f2e17c The <code>clover:report</code> goal does not call the tests anymore. It only generates Clover reports.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115833 13f79535-47bb-0310-9956-ffa450edef68
2004-07-16 11:12:46 +00:00
vmassol
c231e2d1f9 When executing <code>clover:on</code> and <code>clover:off</code>, modify the <code>maven.build.dest</code> property value in the Root context of all plugins so that the value change is available in all Maven plugins.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115832 13f79535-47bb-0310-9956-ffa450edef68
2004-07-16 10:59:37 +00:00
vmassol
fbc42cc8af Prevented the <code>clover:on</code> goal from failing when there are no unit tests sources available.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115831 13f79535-47bb-0310-9956-ffa450edef68
2004-07-16 09:47:39 +00:00
vmassol
191e870e08 Updated to Clover Ant 1.3_01.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115764 13f79535-47bb-0310-9956-ffa450edef68
2004-07-10 13:04:46 +00:00
brett
3ba2b96a88 rollback last change due to breakage
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115462 13f79535-47bb-0310-9956-ffa450edef68
2004-06-12 05:20:57 +00:00
brett
d3eb8282a7 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
2004-06-12 04:52:28 +00:00
brett
cc232858bd [maven-scm-plugin] prepare release 1.5
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115301 13f79535-47bb-0310-9956-ffa450edef68
2004-05-16 02:22:50 +00:00
vmassol
54184543ba - inherit from the plugin-parent/project.xml POM instead of the top level one which is reserved for the master build
- removed custom reports as we can now use the default ones from plugin-parent/project.xml


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115168 13f79535-47bb-0310-9956-ffa450edef68
2004-05-02 13:41:03 +00:00
vmassol
6ec2f24cad fixed bad type
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115161 13f79535-47bb-0310-9956-ffa450edef68
2004-05-02 11:18:07 +00:00
vmassol
c48891dd9f 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.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115093 13f79535-47bb-0310-9956-ffa450edef68
2004-04-30 08:21:06 +00:00
vmassol
b11afec96f Allow generating XML and/or Swing reports during the web site generation too.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115092 13f79535-47bb-0310-9956-ffa450edef68
2004-04-30 07:59:53 +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
2eac55398c Continue work for 1.5 version
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114454 13f79535-47bb-0310-9956-ffa450edef68
2003-12-05 17:53:00 +00:00
vmassol
3b6c7f41d2 Prepare for 1.4 release
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114452 13f79535-47bb-0310-9956-ffa450edef68
2003-12-05 17:47:58 +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
0cba10ee15 I hadn't seen there was an issue on this... Funnily I picked the same property name as the one Ben suggested! :-)
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114450 13f79535-47bb-0310-9956-ffa450edef68
2003-12-05 17:16:26 +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
9fe862664c - Make sure that the clover plugin restore other plugin's properties it has modified.
- Removed public <code>clover:on</code> goal as it should not have been public.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114426 13f79535-47bb-0310-9956-ffa450edef68
2003-11-29 17:15:33 +00:00
vmassol
923b8729ae continue work for 1.4
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114424 13f79535-47bb-0310-9956-ffa450edef68
2003-11-28 08:14:35 +00:00
vmassol
ddd2d9516c - Reworked documentation
- Prepare to release version 1.3


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114422 13f79535-47bb-0310-9956-ffa450edef68
2003-11-28 08:12:14 +00:00
vmassol
9e16da8c30 Use the new issue attribute
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114357 13f79535-47bb-0310-9956-ffa450edef68
2003-11-16 15:25:08 +00:00
vmassol
ac946416ce Moved plugin issues from MAVEN JIRA project to MPCLOVER JIRA project
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114327 13f79535-47bb-0310-9956-ffa450edef68
2003-11-15 16:57:34 +00:00
vmassol
7139befd43 Upgraded to clover 1.2.3
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114297 13f79535-47bb-0310-9956-ffa450edef68
2003-11-10 12:16:25 +00:00
vmassol
4993ca3f5d Prevent the plugin from failing if the project on which it is run has no java sources/test sources.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114268 13f79535-47bb-0310-9956-ffa450edef68
2003-11-06 07:02:30 +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
2c9856a1eb Update changes with release date
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114112 13f79535-47bb-0310-9956-ffa450edef68
2003-09-29 06:09:54 +00:00
dion
01613e49d7 Docs for MAVEN-819
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114087 13f79535-47bb-0310-9956-ffa450edef68
2003-09-24 05:16:29 +00:00
dion
1d6c924c9d MAVEN-548. Move common reporting properties to defaults
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113899 13f79535-47bb-0310-9956-ffa450edef68
2003-08-29 06:27:54 +00:00
evenisse
a94a0f8fe3 Fixed MAVEN-493. I register reports only if source, test,... exists.
So, corresponding entrys in menu will appear only if reports are registered.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113570 13f79535-47bb-0310-9956-ffa450edef68
2003-07-02 09:04:17 +00:00
bwalding
a242899baf Only version 1.2, not 1.3
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113484 13f79535-47bb-0310-9956-ffa450edef68
2003-06-10 20:58:09 +00:00
bwalding
5877045292 Doco updates
PR: MAVEN-372


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113482 13f79535-47bb-0310-9956-ffa450edef68
2003-06-10 13:25:25 +00:00
vmassol
369dcc6193 Make sure that test failures or errors do not stop the generation of the Clover reports.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113462 13f79535-47bb-0310-9956-ffa450edef68
2003-06-04 13:51:26 +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