<?xml version="1.0" encoding="UTF-8"?>

<document>
  <properties>
    <title>Maven Cactus plugin goals</title>
    <author email="vmassol@apache.org">Vincent Massol</author>
  </properties>
  <body>
    <goals>
      <goal>
        <name>cactus:compile</name>
        <description>
          Compiles the Cactus tests.
        </description>
      </goal>
      <goal>
        <name>cactus:cactifywar</name>
        <description>
          Creates a Cactus-ready WAR from the application WAR. To be used
          in WAR projects.
        </description>
      </goal>
      <goal>
        <name>cactus:cactifyear</name>
        <description>
          Creates a Cactus-ready EAR to unit test EJBs. To be used in EJB
          projects.
        </description>
      </goal>
      <goal>
        <name>cactus:test</name>
        <description>
          Run the Cactus tests (packaged in a WAR) on the containers for which
          you have defined a <code>cactus.home.[container name]</code> 
          property.
        </description>
      </goal>
      <goal>
        <name>cactus:single</name>
        <description>
          Run a single Cactus test (packaged in a WAR) on the containers for 
          which you have defined a <code>cactus.home.[container name]</code> 
          property.  Pass the name of the testcase in using 
          <code>-Dtestcase=my.single.TestCase</code>.
        </description>
      </goal>  
      <goal>
        <name>cactus:match</name>
        <description>
          Run all Cactus tests (packaged in a WAR) that match a property 
          <code>-Dtestmatch=MyTestCase</code> on the containers for which you
          have defined a <code>cactus.home.[container name]</code> property.
        </description>
      </goal>           
      <goal>
        <name>cactus:test-ear</name>
        <description>
          Run the Cactus tests (packaged in an EAR) on the containers for which
          you have defined a <code>cactus.home.[container name]</code> 
          property.
        </description>
      </goal>
      <goal>
        <name>cactus:report</name>
        <description>
          Generate an HTML report for the Cactus tests that been run. In order
          to get this report as part of the generated web site, add the 
          following to your <code>project.xml</code>:
<source><![CDATA[
  <reports>
    [...]
    <report>maven-cactus-plugin</report>
    [...]
  </reports>
]]></source>
        </description>
      </goal>
      <goal>
        <name>cactus:jar</name>
        <description>
          Generate a jar containing the Cactus test classes.
        </description>
      </goal>
      <goal>
        <name>cactus:jar-install</name>
        <description>
          Installs the Cactus jar in your local Maven repository. This is
          useful if you wish to put Cactus test classes in one Maven 
          project and execute the Cactus tests in another Maven project.
        </description>
      </goal>
    </goals>
  </body>
</document>