Return-Path: Delivered-To: apmail-maven-dev-archive@www.apache.org Received: (qmail 42986 invoked from network); 20 Jan 2006 15:45:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Jan 2006 15:45:33 -0000 Received: (qmail 84209 invoked by uid 500); 20 Jan 2006 15:45:07 -0000 Delivered-To: apmail-maven-dev-archive@maven.apache.org Received: (qmail 84148 invoked by uid 500); 20 Jan 2006 15:45:07 -0000 Mailing-List: contact dev-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Developers List" Reply-To: "Maven Developers List" Delivered-To: mailing list dev@maven.apache.org Received: (qmail 84134 invoked by uid 99); 20 Jan 2006 15:45:07 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= 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, 20 Jan 2006 07:45:06 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id BD73FC9 for ; Fri, 20 Jan 2006 16:44:45 +0100 (CET) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: dev@maven.apache.org Date: Fri, 20 Jan 2006 15:44:45 -0000 Message-ID: <20060120154445.21135.45656@ajax.apache.org> Subject: [Maven Wiki] Update of "M2UserDocs/030Maven2Installation" by cseg 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 "Maven Wiki" for change notification. The following page has been changed by cseg: http://wiki.apache.org/maven/M2UserDocs/030Maven2Installation ------------------------------------------------------------------------------ = Installing Maven2 = Maven2 can be downloaded from the [http://maven.apache.org/download.html Maven2 download site]. The Maven2 installation file has a root name of '''maven-2.n.n-bin''' and comes in three flavors: - * .zip - * .tar.bz2 - * .tar.gz + * maven-2.n.n'''.zip''' + * maven-2.n.n'''.tar.gz''' + * maven-2.n.n'''.tar.bz2''' - All three files have identical content. To download and install Maven2 on Windows XP: + All three files have identical content. + On windows, you may find the '''.zip''' file the easiest to use. - 1. Go to the '''[http://maven.apache.org/download.html Maven2 download site]''' - 1. Find and click on the '''maven-2.n.n-bin.zip''' file (or which every flavor you prefer) - 1. This takes you to a mirrors page. Click on the '''first (suggested) mirror''', set apart at the top of the page. - 1. '''Open''' the download to skip having to save it to disk. - 1. Depending on how your browser is configured, some '''zip-handling application''' will open. - 1. If an Explorer window opens which contains a folder named '''maven-2.n.n''' - a. Click the '''Extract all files''' link on the left side of the Explorer window. - a. In the first '''Extraction Wizard''' window, click '''Next'''. - a. In the '''Select a Destination''' window, click '''Browse''', then select the location to place the extracted '''maven-2.n.n''' folder - * perhaps in '''My Computer''' at the top of your '''Local Disk (C:)''' - a. Press '''OK''' to select the folder that will contain the new '''maven-2.n.n''' folder - * '''Make a note of this location''' because you will need to add the maven-2.n.n\bin folder to your PATH - a. Press '''Next''' to begin extracting the folder - a. In the '''Extraction Complete''' window, click '''Finish''' - 1. If some other Zip-handling application opens (such as Winzip or 7-Zip), then - * extract the '''maven-2.n.n''' folder to a directory of your choice - * make a note of the location of the extracted '''maven-2.n.n''' folder - The extacted '''maven-2.n.n''' folder will have a '''bin''' subdirectory. Add the location of the extracted '''maven-2.n.n\bin''' folder to your PATH. On Windows: + In other environments, choose the one that is most suitable. - 1. Click '''Start''' - 1. Select '''Control Panel''' - 1. Select '''System''' - 1. Click the '''Advanced''' tab - 1. Click the '''Environmental Variables''' button - 1. Find and select the '''Path''' variable - 1. Click the '''Edit''' button - 1. In the '''Variable value''' field, append: - * ''';''''\maven-2.n.n\bin''' - * notice the '''semi-colon''' which is needed to separate this entry from the previous entries - * replace '''''''''' with the location you extracted to - * replace '''n.n''' with the actual version numbers of your download - 1. Press '''OK''' to accept the modified Path value. - 1. Press '''OK''' again to update your environment. - 1. Press '''OK''' again in the System Properties window. - - To test your installation, open a command window: - * Start -> All Programs -> Accessories -> Command Prompt - - Type '''mvn --help''' at the command prompt. You should see output that looks like this: - {{{ - C:\> mvn --help - - usage: mvn [options] [] [] - - Options: - -C,--strict-checksums Fail the build if checksums don't match - -c,--lax-checksums Warn if checksums don't match - -P,--activate-profiles Comma-delimited list of profiles to - activate - -ff,--fail-fast Stop at first failure in reactorized builds - -fae,--fail-at-end Only fail the build afterwards; allow all - non-impacted builds to continue - -B,--batch-mode Run in non-interactive (batch) mode - -fn,--fail-never NEVER fail the build, regardless of project - result - -up,--update-plugins Synonym for cpu - -N,--non-recursive Do not recurse into sub-projects - -npr,--no-plugin-registry Don't use ~/.m2/plugin-registry.xml for - plugin versions - -U,--update-snapshots Update all snapshots regardless of - repository policies - -cpu,--check-plugin-updates Force upToDate check for any relevant - registered plugins - -npu,--no-plugin-updates Suppress upToDate check for any relevant - registered plugins - -D,--define Define a system property - -X,--debug Produce execution debug output - -e,--errors Produce execution error messages - -f,--file Force the use of an alternate POM file. - -h,--help Display help information - -o,--offline Work offline - -r,--reactor Execute goals for project found in the - reactor - -s,--settings Alternate path for the user settings file - -v,--version Display version information - }}} - - - - - - ##[[Navigation(siblings)]] - --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For additional commands, e-mail: dev-help@maven.apache.org