Plugin Documentation

Goals available for this plugin:

GoalReport?Description
chronos:checkNoChecks the latest performancetests to verify that performance targets have been met.
chronos:helpNoDisplay help information on chronos-maven-plugin.
Call
  mvn chronos:help -Ddetail=true -Dgoal=<goal-name>
to display parameter details.
chronos:historyreportYesCreates a historic report of performance test results.
chronos:jmeterNoInvokes JMeter.
JMeter is invoked by spawning a separate process to make it possible to control startup parameters. Can also be used by specifying a .jtl file as input and (possibly) a garbage collection logfile.
chronos:jmeterguiNoInvokes the JMeter gui.
The purpose is to create a testplan with the artifacts of the current project in the classpath.
This is necessary if the testplan should contain unittests or javaclases from the project.
chronos:reportYesCreates a report of the currently executed performancetest in html format.
chronos:savehistoryNoSave a snapshot of the currently executed test to enable later historic reports.

System Requirements

The following specifies the minimum requirements to run this Maven plugin:

Maven2.0.6
JDK1.4
MemoryNo minimum requirement.
Disk SpaceNo minimum requirement.

Usage

You should specify the version in your project's plugin configuration:

<project>
  ...
  <build>
    <!-- To define the plugin version in your parent POM -->
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>chronos-maven-plugin</artifactId>
          <version>1.0-SNAPSHOT</version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>chronos-maven-plugin</artifactId>
        <version>1.0-SNAPSHOT</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
  <!-- To use the report goals in your POM or parent POM -->
  <reporting>
    <plugins>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>chronos-maven-plugin</artifactId>
        <version>1.0-SNAPSHOT</version>
      </plugin>
      ...
    </plugins>
  </reporting>
  ...
</project>

For more information, see "Guide to Configuring Plug-ins"