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: Formatting, and notes on the source assembly ------------------------------------------------------------------------------ }}} 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 + svn co https://svn.apache.org/repos/asf/struts/current current }}} == 3. Building with Maven == + === 3.1 Local Install === To build and install all of the artifacts (jar and war files) in your local Maven repository: {{{ ~/svn/struts/current/action @@ -27, +28 @@ (The default goal, configured in action/pom.xml is '''install'''.) + === 3.2 Binary Assembly === 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 @@ -38, +40 @@ $ mvn assembly:assembly }}} The output will be in 'assembly/target/assembly/out'. + + === 3.3 Source Assembly === + + To build the source assembly, enable the 'assemble-src' profile: + {{{ + ~/svn/struts/current/action + $ mvn assembly:assembly -P assemble-src + }}} + The output will be in 'action/target/assembly/out'. + + '''TODO:''' The source assembly is missing the contents of the top level directory, for example, the action/pom.xml file. == 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. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]