Jason van Zyl b3bdd8c983 o adding IT it0000
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@465770 13f79535-47bb-0310-9956-ffa450edef68
2006-10-19 20:36:22 +00:00
2006-07-28 16:21:35 +00:00
2006-10-11 06:22:59 +00:00
2006-10-19 20:36:22 +00:00
2006-10-14 12:50:36 +00:00
2006-10-09 16:31:52 +00:00
2006-10-19 19:50:29 +00:00
2006-04-08 07:47:04 +00:00
2006-07-18 15:21:23 +00:00
2006-10-19 19:48:59 +00:00

-------------------------------------------------------------------------------
Bootstrapping Maven
-------------------------------------------------------------------------------

Set the environment variable M2_HOME pointing to the dir where you want Maven2
installed... with two key restrictions.

1) presently, the directory {M2_HOME}/bin must be in your path:
set PATH=%PATH%;%M2_HOME%\bin
or
export PATH=$PATH:$M2_HOME/bin

2) The last part of the M2_HOME path MUST be of the form maven-$version, eg:
/usr/local/maven-2.1-SNAPSHOT

You can set the parameters passed to the Java VM when running Maven2 bootstrap,
setting the environment variable MAVEN_OPTS, e.g. to run in offline mode,
set MAVEN_OPTS=-o

Then run bootstrap.bat (in Windows) or bootstrap.sh (in Unix)

NOTE: You must run these instructions from this directory!

If you are behind a firewall, you will need to let the bootstrap process know.
To do this, create a file at ~/.m2/settings.xml and paste in the XML below,
substituting your settings for those provided. You can safely skip the
username, password and nonProxyHost elements if they are not relevant to you.

<settings>
  <proxies>
    <proxy>
      <active>true</active>
      <protocol>http</protocol>
      <host>proxy.somewhere.com</host>
      <port>8080</port>
      <username>proxyuser</username>
      <password>somepassword</password>
      <nonProxyHosts>www.google.com|*.somewhere.com</nonProxyHosts>
    </proxy>
  </proxies>
</settings>
Languages
Java 99.6%
Shell 0.2%
Batchfile 0.1%