Maven StatCvs Plugin

A plugin to generate statistics about CVS usage using StatCvs-XML. This page and plugin is maintained by the authors of StatCvs-XML. It superseeds the StatCvs plugin formerly shipped with maven.

Customization

The output of StatCvs-XML, i.e. the generated documents and the format of the reports, is highly customizable. StatCvs-XML looks for a file called statcvs.xml in the current directory (the directory Maven was started from) to read project settings.

Please see the StatCvs-XML manual for configuration options. The properties page describes customization settings for the plugin.

Installation

Release

There are three alternative ways to install the plugin. Choose one.

  • The easiest way to install the StatCvs maven plugin is through maven:
    maven plugin:download -DartifactId=maven-statcvs-plugin -DgroupId=statcvs -Dversion=2.7
  • Alternatively you can download the plugin manually, unpack the jar archive and install the plugin into your Maven repository:
    jar xvf maven-statcvs-plugin-2.7.jar
    maven plugin:install
  • Or add a dependency in your project.xml:
    <dependency>
      <groupId>statcvs</groupId>
      <artifactId>maven-statcvs-plugin</artifactId>
      <version>2.7</version>
      <type>plugin</type>
    </dependency>

Latest from CVS

It is easy stay to stay on the cutting edge of the StatCvs-XML development. You need to follow these steps:

  1. Check out StatCvs-XML from cvs
    cvs -z3 -d:pserver:anonymous@cvs.statcvs-xml.berlios.de:/cvsroot/statcvs-xml co statcvs-xml2
  2. Update the StatCvs-XML jar in your Maven repository
    cd statcvs-xml2
    maven jar:install
  3. Check out the StatCvs Maven plugin from cvs
    cvs -z3 -d:pserver:anonymous@cvs.statcvs-xml.berlios.de:/cvsroot/statcvs-xml co statcvs-xml-maven
  4. Update the StatCvs plugin in your Maven repository
    cd statcvs-xml-maven
    maven plugin:install

That's it! Now run maven statcvs xdoc on your project and enjoy the latest of the StatCvs-XML development.