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 some notes on the new Maven 2 build ------------------------------------------------------------------------------ - The purpose of this page is to provide help on the new Maven 1.0 build that's been put in place for Struts 1.3.x onwards. + = Struts Action Framework and Maven 2 = + + == 1. Maven Setup == + + Download and install Maven 2 from http://maven.apache.org. + + == 2. Checkout Source from Subversion == + + The Struts Subversion repository is organized into sub-projects. You can check out Struts Action 1 alone using this URL: + {{{ + svn co https://svn.apache.org/repos/asf/struts/action/trunk action + }}} + Or you can check out all of the sub-projects, including the sandbox, with this: + {{{ + svn co https://svn.apache.org/repos/asf/struts/current curent + }}} + + == 3. Building with Maven == + + To build and install all of the artifacts (jar and war files) in your local Maven repository: + {{{ + ~/svn/struts/current/action + $ mvn + }}} + + (The default goal, configured in action/pom.xml is '''install'''.) + + To build the binary assembly, first enable the 'generate-assembly' profile, which will cause the javadoc and source artifacts to be produced: + {{{ + ~/svn/struts/current/action + $ mvn -P generate-assembly + }}} + And then create the assembly: + {{{ + ~/svn/struts/current/action/assembly + $ mvn assembly:assembly + }}} + The output will be in 'assembly/target/assembly/out'. + + == 4. 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. + + ----- + + The information below refers to the Maven 1 build, which is scheduled to be removed in mid-April. == 1. Maven Setup == --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]