Dear Wiki user, You have subscribed to a wiki page or wiki category on "Struts Wiki" for change notification.
The following page has been changed by WendySmoak: http://wiki.apache.org/struts/StrutsMaintenanceMaven The comment on the change is: Notes on Cargo for Apps, and more TODOs ------------------------------------------------------------------------------ Integration tests for Struts Action are located under the '''integration''' module. Integration tests will only be run if the ''perform-itest'' profile is enabled. + === Cactus Tests === + The Cactus tests for Struts Taglib are located in the action/integration/taglib-it module. To run the tests, you must provide a value for the 'cargo.tomcat5x.home' System property, for example: {{{ ~/svn/struts/current/action/integration @@ -83, +85 @@ * Executions of the Surefire, Compiler, War, and Cargo plugins are bound to various lifecycle phases '''NOTE:''' If the tests fail, Cargo will not be able to stop the container. + + === Apps === + + Tests for the '''apps''' module are not currently automated with Maven 2. + + However, each module inherits Cargo plugin configuration (from apps/pom.xml) which will start Tomcat 5.x and deploy the app: + {{{ + mvn package cargo:start + }}} + Then visit http://localhost:8080/webappname in your browser. This requires that the cargo.tomcat5x.home system property is set, usually either on the command line (-Dcargo.tomcat5x.home=...) or in ~/.m2/settings.xml. See the Suggested Settings section, below. + == Suggested Settings == @@ -158, +171 @@ * http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html * Document the Struts Maven 2 release process: StrutsMavenRelease * Integration tests for the webapps under various container/JDK combinations + * Remove the Tiles dependency from Struts Blank + * Remove the Tiles dependency from EL (Move the tiles-el tags to Struts Tiles) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]