Return-Path: Delivered-To: apmail-struts-dev-archive@www.apache.org Received: (qmail 74486 invoked from network); 7 Apr 2006 18:02:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Apr 2006 18:02:15 -0000 Received: (qmail 15487 invoked by uid 500); 7 Apr 2006 18:01:58 -0000 Delivered-To: apmail-struts-dev-archive@struts.apache.org Received: (qmail 15400 invoked by uid 500); 7 Apr 2006 18:01:58 -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 15346 invoked by uid 99); 7 Apr 2006 18:01:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Apr 2006 11:01:57 -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, 07 Apr 2006 11:01:56 -0700 Received: from ajax.apache.org (localhost.localdomain [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id DDC9BD49FE for ; Fri, 7 Apr 2006 19:01:35 +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, 07 Apr 2006 18:01:35 -0000 Message-ID: <20060407180135.9361.89715@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: 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: dev-unsubscribe@struts.apache.org For additional commands, e-mail: dev-help@struts.apache.org