mirror of https://github.com/apache/maven.git
fcb7a1c14b
o Changed the references to repo1.maven.org for central repository to repo1.maven.org/maven2 in preparation for switchover to ibiblio.org This will allow us to transparently switch between redirects and CNAME changes for referencing ibiblio.org, since ibiblio will not allow a vhost for m2 or a rewrite rule...switching the URL for the repo will allow changes to the CNAME (satisfy ibiblio's pathing) while at the same time allowing the use of redirects (redirect can be at /maven2/index.html rather than /index.html, f.e.). git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163772 13f79535-47bb-0310-9956-ffa450edef68 |
||
---|---|---|
benchmark | ||
maven-1.x-integration | ||
maven-archetype | ||
maven-archiver | ||
maven-artifact | ||
maven-core | ||
maven-core-it | ||
maven-core-it-plugin | ||
maven-core-it-support | ||
maven-core-it-verifier | ||
maven-mboot2 | ||
maven-meeper | ||
maven-model | ||
maven-monitor | ||
maven-plugin | ||
maven-plugin-tools | ||
maven-plugins | ||
maven-reporting-api | ||
maven-repository-tools | ||
maven-script | ||
maven-settings | ||
sandbox | ||
.cvsignore | ||
README.txt | ||
ci.sh | ||
m2-bootstrap-all.bat | ||
m2-bootstrap-all.sh | ||
pom.xml | ||
upgrading-dependencies.apt |
README.txt
------------------------------------------------------------------------------- Bootstrapping Maven ------------------------------------------------------------------------------- To bootstrap Maven you must have a ~/.m2/maven.properties file with the following entry: maven.repo.local = /path/to/your/local/repository 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=-Dmaven.online=false e.g. to build maven with debug info, set MAVEN_OPTS=-Dmaven.compiler.debug=true Then run m2-bootstrap-all.bat (in Windows) or m2-bootstrap-all.sh (in Unix) NOTE: You must run these instructions from this directory!