diff --git a/cactus/maven.xml b/cactus/maven.xml
new file mode 100644
index 00000000..c21acc9c
--- /dev/null
+++ b/cactus/maven.xml
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/cactus/plugin.jelly b/cactus/plugin.jelly
index 85e6dae5..b56e0ab4 100644
--- a/cactus/plugin.jelly
+++ b/cactus/plugin.jelly
@@ -2,474 +2,88 @@
-
+
-
-
-
-
-
-
-
-
-
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Either a war or a webapp must exist. Please call the War plugin
- first.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- You must define the test case to run via -Dmavencactustestcase=classname
- Example: maven -Dmavencactustestcase=MyTest cactus:single
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/cactus/plugin.properties b/cactus/plugin.properties
index 1fac28b9..b4ea1049 100644
--- a/cactus/plugin.properties
+++ b/cactus/plugin.properties
@@ -8,71 +8,24 @@
#
# Examples:
#
-# maven.cactus.tomcat4x.home = c:/apps/tomcat-4.1.10
-# maven.cactus.resin2x.home = C:/Apps/resin-2.1.4
-# maven.cactus.weblogic7x.home = C:/bea
-
-# The default container to run in. You must specifiy which one.
-#
-# Examples:
-#
-# maven.cactus.container=tomcat-4x
-# maven.cactus.container=resin-2x
-# maven.cactus.container=weblogic-7x
-
-
-# Currently you must provide a web.xml to use.
-maven.cactus.webxml=
-
-# DVSL Template to merge user web.xml to entries needed by Cactus
-maven.cactus.webxml.dvsl = ${plugin.resources}/conf/web.xml.dvsl
-
-# Empty web.xml to use if the user project does not provide a web.xml file
-maven.cactus.emptywebxml = ${plugin.resources}/conf/web.xml
-
-# Location of cactus.properties Cactus configuration file
-maven.cactus.configFile = ${plugin.resources}/conf/cactus.properties
+# cactus.home.tomcat4x = c:/apps/tomcat-4.1.10
+# cactus.home.resin2x = C:/Apps/resin-2.1.4
+# cactus.home.weblogic7x = C:/bea
# Location of Cactus tests in project sources
-maven.cactus.src.dir = src/test-cactus
+cactus.src.dir = ${basedir}/src/test-cactus
-# Location of scripts for the different containers
-maven.cactus.scripts.dir = ${plugin.resources}/scripts
+# Location where the plugins puts temporary build-generated files
+cactus.target.dir = ${maven.build.dir}
-# Location of container configuration files
-maven.cactus.conf.containers.dir = ${plugin.resources}/conf/containers
+# Default port on which to start the containers
+cactus.port = 8080
-# Location where the cactus plugin puts its generateds stuff in
-# the project build directory.
-maven.cactus.build.dir = ${maven.build.dir}/cactus
-
-# Location where the cactus plugin puts the compiled cactus test classes
-maven.cactus.classes.dir = ${maven.cactus.build.dir}/classes
-
-# Location where the cactus plugin puts resources that need to be in the
-# Cactus client side classpath.
-maven.cactus.build.resources.dir = ${maven.cactus.build.dir}/resources
-
-# Port under which the container will be started
-maven.cactus.port = 8080
-
-# If true, the junit task used to run the Cactus tests will output the
-# test result to a file
-maven.cactus.junit.usefile = true
-
-# Location of generated raw test reports
-maven.cactus.test.reportsDirectory = ${maven.build.dir}/test-reports
-
-# Define what TestRunner to use. Default is the JUnit text test runner
-# (the one used by the Ant task). Valid values are: text, swing
-maven.cactus.testrunner = text
-
-# Location of junit excluded.properties file to use when using the Swing
-# Test Runner
-maven.cactus.testrunner.swing.excluded = ${plugin.resources}/conf/excluded.properties
-
-# Include/Exclude for Cactus tests
-maven.cactus.test.fileset.include=**/*.class
-maven.cactus.test.fileset.exclude=
+# Default Cactus test files to include in the test
+cactus.src.includes = **/*Test*.java
+# Default Cactus test files to exclude from the test
+cactus.src.excludes = **/AllTests.java,**/Test*All.java
+# Default webapp context
+cactus.context = cactustest
diff --git a/cactus/project.properties b/cactus/project.properties
index 55d62d3d..10ed28fb 100644
--- a/cactus/project.properties
+++ b/cactus/project.properties
@@ -6,3 +6,12 @@ maven.xdoc.version=${pom.currentVersion}
maven.checkstyle.format = turbine
maven.license.licenseFile=${basedir}/../../../LICENSE.txt
+# Properties specific to the plugin
+
+# Note: These should be removed once Maven artifacts dependencies
+# mechanism is finalized.
+
+maven.cactus.artifacts.zips.dir = ${maven.repo.local}/cactus/zips
+maven.cactus.antintegration.version = 13-1.5dev-20030322
+maven.cactus.antintegration.name = jakarta-cactus-integration-ant-${maven.cactus.antintegration.version}
+maven.cactus.antintegration.zip = ${maven.cactus.artifacts.zips.dir}/${maven.cactus.antintegration.name}.zip
diff --git a/cactus/project.xml b/cactus/project.xml
index 80b020b8..4698e32b 100644
--- a/cactus/project.xml
+++ b/cactus/project.xml
@@ -5,7 +5,7 @@
3
maven-cactus-plugin
Maven Cactus Plug-in
- 1.2
+ 2.0-SNAPSHOT
Plugin for Cactus (http://jakarta.apache.org/cactus) that allows to automatically start containers, run Cactus tests and stop the containers.
Cactus plugin
http://maven.apache.org/reference/plugins/cactus/
@@ -33,19 +33,27 @@
1.2
MAVEN_CACTUS_1_2
+
+ 2.0
+ 2.0
+ HEAD
+
+
+
Vincent Massol
vmassol
- vmassol@octo.com
- OCTO Technology
+ vmassol@pivolis.com
+ Pivolis
Java Developer
Architect
Release Manager
+
Eric Pugh
epugh
@@ -56,126 +64,70 @@
+
+
+
+
+
cactus
- cactus>
- 13-1.4.1
-
- root.maven
-
+ jakarta-cactus-integration-ant
+ 13-1.5dev-20030322
+ zip
+
+
+
cactus
- cactus-ant>
- 1.4.1
-
- root.maven
-
+ cactus-framework>
+ 13-1.5dev-20030322
+
+
+ cactus
+ cactus-integration-ant>
+ 1.5dev-20030322
+
+
commons-httpclient
commons-httpclient>
- 2.0alpha1-20020829
-
- root.maven
-
+ 2.0-alpha3
+
commons-logging
commons-logging>
- 1.0.1
-
- root.maven
-
+ 1.0.2
+
aspectj
aspectjrt
1.0.6
-
- root.maven
-
+
httpunit
httpunit
- 1.5
-
- root.maven
-
+ 1.5.1
+
- nekohtml
- nekohtml
- 0.6.5
-
- root.maven
-
+ log4j
+ log4j
+ 1.2.7
+
junit
junit
3.8.1
-
- root
-
-
-
- ant
- ant
- 1.5.1
-
- root
-
-
-
- commons-jelly
- commons-jelly
- 20030211.141339
-
- root.maven
-
-
-
- commons-jelly
- commons-jelly-tags-ant
- 20030211.142045
-
- root.maven
-
-
-
- commons-beanutils
- commons-beanutils
- 1.4.1
-
- root.maven
-
-
-
- xml-apis
- xml-apis
- 1.0.b2
-
- root
-
-
-
-
-
- xerces
- xerces
- 2.0.2
-
- root
-
-