2011/08/05 - Jakarta Cactus has been retired.

For more information, please explore the Attic.

Installing the Cactus plugin

There are 2 options to install the Cactus plugin in an existing Maven installation:

  • Automatic install: Call maven plugin:download -DgroupId=cactus -DartifactId=cactus-maven -Dversion={version} where {version} is the version to use. Maven will automatically download the plugin and install it, uninstalling any other version you may already have.
  • Manual install: Download the Cactus plugin jar and copy it in {MAVEN_HOME}/plugins where {MAVEN_HOME} is the location where you have installed Maven. Make sure you also remove any previous Cactus plugin from {MAVEN_HOME}/plugins and delete your {USER_HOME}/.maven/plugins directory.
It is probable that your version of Maven already includes the Cactus plugin (it was bundled with Maven not long ago). If this is the case and if you want to install the new plugin, you need to remove the maven-cactus-plugin plugin from {MAVEN_HOME}/plugins and delete your {USER_HOME}/.maven/plugins directory. Older versions of the Cactus plugin can still be found here.