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 @@

       <profile>
          <id>cargo-config</id>
           <properties>
-             
<cargo.tomcat5x.home>c:/java/apache-tomcat-5.5.16</cargo.tomcat5x.home>
+             
<cargo.tomcat5x.home>c:/java/apache-tomcat-5.5.17</cargo.tomcat5x.home>
              
<cargo.tomcat4x.home>c:/java/jakarta-tomcat-4.1.31</cargo.tomcat4x.home>
           </properties>
        </profile>
@@ -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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to