Return-Path: Delivered-To: apmail-struts-dev-archive@www.apache.org Received: (qmail 87206 invoked from network); 28 Apr 2006 16:54:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Apr 2006 16:54:45 -0000 Received: (qmail 89606 invoked by uid 500); 28 Apr 2006 16:54:42 -0000 Delivered-To: apmail-struts-dev-archive@struts.apache.org Received: (qmail 89563 invoked by uid 500); 28 Apr 2006 16:54:41 -0000 Mailing-List: contact dev-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Developers List" Reply-To: "Struts Developers List" Delivered-To: mailing list dev@struts.apache.org Received: (qmail 89552 invoked by uid 99); 28 Apr 2006 16:54:41 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Apr 2006 09:54:41 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Apr 2006 09:54:41 -0700 Received: from ajax.apache.org (localhost.localdomain [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 319A2D49FE for ; Fri, 28 Apr 2006 17:54:20 +0100 (BST) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: dev@struts.apache.org Date: Fri, 28 Apr 2006 16:54:20 -0000 Message-ID: <20060428165420.1025.45616@ajax.apache.org> Subject: [Struts Wiki] Update of "StrutsMaintenanceMaven" by WendySmoak X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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: Add notes on the apps-it module ------------------------------------------------------------------------------ '''NOTE:''' The 'assembly:assembly' goal must be run from action/assembly. Somehow, this needs to be coordinated with release:prepare and release:perform, so that the assembly will contain the same jars that were just deployed to the repository. - - === Source Assembly === - - * The source code is included in struts-action-x.x.x-all.zip. - - * Wait for v2.1 of maven-assembly-plugin, then consider switching to the action/assembly/src/main/assembly/src.xml and dep.xml descriptors for separate -bin and -src assemblies. - - * See StrutsMaven2Plan for some additional thoughts on assemblies. - == Integration Testing == The Maven 2 [http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html build lifecycle] includes a phase for integration testing. Currently, a module may contain only unit tests ''or'' integration tests, but not both. See the [http://docs.codehaus.org/display/MAVEN/best+practices+-+testing+strategies testing strategies] page for discussion and proposals. @@ -88, +79 @@ === Apps === - Tests for the '''apps''' module are not currently automated with Maven 2. + The integration/apps-it module contains tests to confirm that each example app starts and displays its default page: + {{{ + ~/svn/struts/current/action/integration/apps-it + mvn -P perform-itest + }}} - However, each module inherits Cargo plugin configuration (from apps/pom.xml) which will start Tomcat 5.x and deploy the app: + In addition, each module inherits Cargo plugin configuration (from apps/pom.xml) which will start Tomcat 5.x and deploy the app: {{{ + ~/svn/struts/current/action/apps/[module] 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. @@ -133, +129 @@ cargo-config - c:/java/apache-tomcat-5.5.16 + c:/java/apache-tomcat-5.5.17 c:/java/jakarta-tomcat-4.1.31 @@ -161, +157 @@ == References == * [http://www.developer.com/open/article.php/10930_3552026_2 This article] provides a good introduction to Maven 2 and lists some other useful goals. + * StrutsMavenRelease == TODO == --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org For additional commands, e-mail: dev-help@struts.apache.org