You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Vincent Massol <vm...@apache.org> on 2005/03/04 22:02:54 UTC

[ANN] Maven Clover Plugin 1.8 released

The maven team is pleased to announce the Maven Clover Plugin 1.8 release! 

http://maven.apache.org/reference/plugins/clover/

The Clover plugin allows measuring test coverage using Clover 
(http://www.cenqua.com/clover). 

Changes in this version include:

  New Features:

o Added support for historical reports by adding a new 
  clover:save-historygoal that saves a Clover history point. The history 
  points are then used by clover:reportto generate history reports (including 
  a link on the Maven-generated website). 
o Add support for method, statement and block context filtering through the 
  following properties: maven.clover.context.block.names, 
  maven.clover.context.method.names, maven.clover.context.method.regexps, 
  maven.clover.context.statement.namesand 
  maven.clover.context.statement.regexps. 
o Added new clover:checkgoal that verifies if the test coverage if above a 
  threshold defined by the properties maven.clover.check.target, 
  maven.clover.check.packagesand maven.clover.check.targets. It fails the 
  build if it's below. 

  Changes:

o Updated to Clover 1.3.5 and applied new license that supports generating 
  history report (the previous one didn't support it). 
o 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 
  maven.clover.license.pathproperty.  

To automatically install the plugin, type the following on a single line:

maven plugin:download 
  -DgroupId=maven 
  -DartifactId=maven-clover-plugin
  -Dversion=1.8

For a manual installation, you can download the plugin here:
http://www.apache.org/dyn/closer.cgi/java-repository/maven/plugins/maven-clover-plugin-1.8.jar
         

Have fun!
-The maven team
      

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: [ANN] Maven Clover Plugin 1.8 released

Posted by Jon Strayer <jo...@gmail.com>.
On Tue, 8 Mar 2005 13:42:27 -0500, Jon Strayer <jo...@gmail.com> wrote:

> Looking in target/docs/clover/history/img I see a zero byte file named
> chart0.jpg.  Is clover trying to use X to draw the chart?


Yep, that's it.  I need to add  -Djava.awt.headless=true to my command
line to get it to work.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [ANN] Maven Clover Plugin 1.8 released

Posted by Jon Strayer <jo...@gmail.com>.
On Tue, 8 Mar 2005 19:12:53 +0100, Vincent Massol <vm...@pivolis.com> wrote:
> Hi Jon,
> 
> Yes, I'm still missing documentation that needs to be added. I'll work on
> that during this week...
> 
> You need to call the goal clover:save-history whenever you wish to save a
> Clover history point. 

I added clover:save-history to the end of my CruiseControl build
command.  It translates to:
maven site:deploy clover:save-history

Is that correct?

> Once you've accumulated history points you can run the
> Clover report. It'll generate the standard report AND a history report. If
> you're using <report> there's a new one that tells the Clover plugin to
> generate history reports.

Looking in target/docs/clover/history/img I see a zero byte file named
chart0.jpg.  Is clover trying to use X to draw the chart?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: [ANN] Maven Clover Plugin 1.8 released

Posted by Vincent Massol <vm...@pivolis.com>.
Hi Jon,

Yes, I'm still missing documentation that needs to be added. I'll work on
that during this week...

You need to call the goal clover:save-history whenever you wish to save a
Clover history point. Once you've accumulated history points you can run the
Clover report. It'll generate the standard report AND a history report. If
you're using <report> there's a new one that tells the Clover plugin to
generate history reports.

You can control the location where the history points are saved through the
maven.clover.history.dir property (default to somewhere in your target
directory which is not a good place if you wish to save them so that they
are not erased by a clean).

Hope it helps,
-Vincent

> -----Original Message-----
> From: Jon Strayer [mailto:jon.strayer@gmail.com]
> Sent: mardi 8 mars 2005 17:22
> To: Maven Users List
> Subject: Re: [ANN] Maven Clover Plugin 1.8 released
> 
> How are we supposed to use the new history feature?
> 
> 
> On Fri, 4 Mar 2005 22:02:54 +0100, Vincent Massol <vm...@apache.org>
> wrote:
> > The maven team is pleased to announce the Maven Clover Plugin 1.8
> release!
> >
> > http://maven.apache.org/reference/plugins/clover/
> >
> > The Clover plugin allows measuring test coverage using Clover
> > (http://www.cenqua.com/clover).
> >
> > Changes in this version include:
> >
> >   New Features:
> >
> > o Added support for historical reports by adding a new
> >   clover:save-historygoal that saves a Clover history point. The history
> >   points are then used by clover:reportto generate history reports
> (including
> >   a link on the Maven-generated website).
> > o Add support for method, statement and block context filtering through
> the
> >   following properties: maven.clover.context.block.names,
> >   maven.clover.context.method.names,
> maven.clover.context.method.regexps,
> >   maven.clover.context.statement.namesand
> >   maven.clover.context.statement.regexps.
> > o Added new clover:checkgoal that verifies if the test coverage if above
> a
> >   threshold defined by the properties maven.clover.check.target,
> >   maven.clover.check.packagesand maven.clover.check.targets. It fails
> the
> >   build if it's below.
> >
> >   Changes:
> >
> > o Updated to Clover 1.3.5 and applied new license that supports
> generating
> >   history report (the previous one didn't support it).
> > o 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
> >   maven.clover.license.pathproperty.
> >
> > To automatically install the plugin, type the following on a single
> line:
> >
> > maven plugin:download
> >   -DgroupId=maven
> >   -DartifactId=maven-clover-plugin
> >   -Dversion=1.8
> >
> > For a manual installation, you can download the plugin here:
> > http://www.apache.org/dyn/closer.cgi/java-
> repository/maven/plugins/maven-clover-plugin-1.8.jar
> >
> > Have fun!
> > -The maven team
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [ANN] Maven Clover Plugin 1.8 released

Posted by Jon Strayer <jo...@gmail.com>.
How are we supposed to use the new history feature?


On Fri, 4 Mar 2005 22:02:54 +0100, Vincent Massol <vm...@apache.org> wrote:
> The maven team is pleased to announce the Maven Clover Plugin 1.8 release!
> 
> http://maven.apache.org/reference/plugins/clover/
> 
> The Clover plugin allows measuring test coverage using Clover
> (http://www.cenqua.com/clover).
> 
> Changes in this version include:
> 
>   New Features:
> 
> o Added support for historical reports by adding a new
>   clover:save-historygoal that saves a Clover history point. The history
>   points are then used by clover:reportto generate history reports (including
>   a link on the Maven-generated website).
> o Add support for method, statement and block context filtering through the
>   following properties: maven.clover.context.block.names,
>   maven.clover.context.method.names, maven.clover.context.method.regexps,
>   maven.clover.context.statement.namesand
>   maven.clover.context.statement.regexps.
> o Added new clover:checkgoal that verifies if the test coverage if above a
>   threshold defined by the properties maven.clover.check.target,
>   maven.clover.check.packagesand maven.clover.check.targets. It fails the
>   build if it's below.
> 
>   Changes:
> 
> o Updated to Clover 1.3.5 and applied new license that supports generating
>   history report (the previous one didn't support it).
> o 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
>   maven.clover.license.pathproperty.
> 
> To automatically install the plugin, type the following on a single line:
> 
> maven plugin:download
>   -DgroupId=maven
>   -DartifactId=maven-clover-plugin
>   -Dversion=1.8
> 
> For a manual installation, you can download the plugin here:
> http://www.apache.org/dyn/closer.cgi/java-repository/maven/plugins/maven-clover-plugin-1.8.jar
> 
> Have fun!
> -The maven team
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org