mirror of https://github.com/apache/maven.git
425a841a8b
new interpolator so the one from 2.0 was used and some envar handling was back ported. Unit tests have been added for envar handling as well as an IT. The maven-core-it script will now set an envar which is used in it0090. git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@368108 13f79535-47bb-0310-9956-ffa450edef68 |
||
---|---|---|
benchmark | ||
bootstrap | ||
examples/maven-clover-plugin-samples | ||
integration-tests | ||
maven-archiver | ||
maven-artifact | ||
maven-artifact-ant | ||
maven-artifact-manager | ||
maven-artifact-test | ||
maven-core | ||
maven-core-it | ||
maven-core-it-verifier | ||
maven-embedder | ||
maven-embedder-it | ||
maven-error-diagnostics | ||
maven-meeper | ||
maven-model | ||
maven-model-converter | ||
maven-monitor | ||
maven-plugin-api | ||
maven-plugin-descriptor | ||
maven-plugin-parameter-documenter | ||
maven-plugin-registry | ||
maven-plugin-tools | ||
maven-profile | ||
maven-project | ||
maven-reporting | ||
maven-repository-metadata | ||
maven-repository-tools | ||
maven-script | ||
maven-settings | ||
README.txt | ||
bootstrap.bat | ||
bootstrap.sh | ||
ci.sh | ||
pom.xml |
README.txt
------------------------------------------------------------------------------- Bootstrapping Maven ------------------------------------------------------------------------------- Set the environment variable M2_HOME pointing to the dir where you want Maven2 installed. NOTE: presently, the directory {M2_HOME}/bin must be in your path: set PATH=%PATH%;%M2_HOME%\bin or export PATH=$PATH:$M2_HOME/bin You can set the parameters passed to the Java VM when running Maven2 bootstrap, setting the environment variable MAVEN_OPTS, e.g. 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>