Goals available for this plugin:
| Goal | Report? | Description |
|---|---|---|
| chronos:check | No | Checks the latest performancetests to verify that performance targets have been met. |
| chronos:help | No | Display help information on chronos-maven-plugin. Call mvn chronos:help -Ddetail=true -Dgoal=<goal-name>to display parameter details. |
| chronos:historyreport | Yes | Creates a historic report of performance test results. |
| chronos:jmeter | No | Invokes 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:jmetergui | No | Invokes 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:report | Yes | Creates a report of the currently executed performancetest in html format. |
| chronos:savehistory | No | Save a snapshot of the currently executed test to enable later historic reports. |
The following specifies the minimum requirements to run this Maven plugin:
| Maven | 2.0.6 |
| JDK | 1.4 |
| Memory | No minimum requirement. |
| Disk Space | No minimum requirement. |
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"