Changes
Vincent Massol
New cactus:jar goal to generate a jar containing
the Cactus test classes. This is useful if you wish to put Cactus
test classes in one Maven project and execute the Cactus tests in
another project.
Added new cactus.tmp.dir optional property to specify
a location where Cactus will put its temporary files (mostly where
it setup containers for execution). Defaults to
[java.io.tmpdir]/[containername].
Generate the Cactus test reports in the Cactus reports directory
instead of directly in the Maven build directory. This fixes bug
MAVEN-669
and
MAVEN-671.
Updated commons-httpclient dependency to 2.0 rc1, httpunit to
1.5.3 and nekohtml to 0.7.7.
Added new optional property cactus.weblogic7x.beahome to
configure the location of BEA HOME for the WebLogic 7.x container. It
is only needed if the BEA HOME location is not the parent
directory of cactus.home.weblogic7x.
Added back support for WebLogic 7.x (it had somehow been dropped
when we moved to the new Cactus/Ant integration in version 3.0).
Updated to Cactus 1.6dev-20030830 which has fixes for WebLogic 7.x
support.
Upgrade to commons-logging 1.0.3
New goal cactus:match added that allows you to run just matching testcases.
Pass the testcase in using -Dtestmatch=MyTestCase. This brings to parity the
cactus plugin with the test plugin for running types of tests.
New goal cactus:single added that allows you to run just a single testcase.
Pass the testcase in using -Dtestcase=my.single.TestCase.
Add xml declaration to generated report. Fixed for character encoding.
Ability to optionally specify for Tomcat 4x and 5x a directory to which
the container will be installed for the tests.
Add all user jars that have been marked to be included in the cactus
test (with the
<cactus.bundle>true</cactus.bundle> property
in dependencies). For example, DBUnit would be a jar you would
include in a Cactus test but not in a runtime war.
Updated to Cactus/Ant of 19th of June 2003 which fixes a bug
preventing JBoss to start correctly on unix machines (caused by
an invalid URL file format on unix. Thanks to Chris Lenz for
fixing it.
The cactus:compile goal now correctly copy the non
java files to the target class directory. Thanks to Florin Vancea for
reporting this bug. This fixes bug
MAVEN-478.
Major change: updated to use the Cactus/Ant integration built after
23rd of May 2003 (it is completely different from the Cactus/Ant
integration used in version 2.0.
Complete rework of the plugin to use the Cactus/Ant Integration
module from the Cactus project. Now using Cactus 1.5dev for J2EE
1.3, built from CVS on 7th of April 2003. Thus the Plugin feature
are now those of the Cactus/Ant Integration module.
Upgraded scripts to work with Maven beta 8.
Checkstyle fixes for included Sample webapp.
Add new target cactus:test that runs tests for
all containers with a
maven.cactus.[container].home property set.
cactus:single now builds all the code and then runs
the testcase specified by the property
mavencactustestcase. Example
maven cactus:single
-Dmavencactustestcase=com.my.company.EasyTest.
Commented out dvsl merging of web.xml due to changes in Maven.
Instead uses either included default web.xml or one provided by
maven.cactus.webxml.
Added Checkstyle report to Cactus plugin web site.
The plugin now works even if not connected to the internet.
Fixed problem when the web.xml of the application to
test was defining security configuration. The Cactus was adding its
own but the web.xml DTD only supports one. The new implementation
discards the application security information which is replaced by
the Cactus definition.
Added support for HttpUnit integration out of the box (i.e. the
HttpUnit jars are automatically added by the Cactus plugin).
Ability to exclude Cactus tests (for long running tests for example,
in debug period).
The web.xml elements required for Cactus are now
automatically added to the user project web.xml.
Added support for running the tests using the JUnit Swing Test Runner.
Simply create the following Maven property
maven.cactus.testrunner = swing to use the Swing Test
Runner.
Added automatic discovery of Cactus Test Cases and ignore test support
classes.
Creation of the project war/webapp is now left to the Maven War plugin.
Cactus repackages it by adding the Cactus tests, the Cactus
configuration files and the Cactus external jars. Thus, the Cactus
plugin now supports the "war:webapp" goal.
Improved documentation: "news" section on front page and improved
"Quick Start" page.
Support for WebLogic 7.x.
Sample project showing how to use the Cactus plugin.
Generates HTML reports
Support for Resin 2.x.
Support for Tomcat 4.x (supports hot redeploy).
Creation of the Cactus plugin