Apache Maven core
Go to file
Kenney Westerhof c7c6b5d7c7 Refactored the bootstrapper to use a proper Model
and inheritance/dependency chains so repositories defined in models
are used for metadata too. Previously they got lost because of all
the cloning.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@420408 13f79535-47bb-0310-9956-ffa450edef68
2006-07-10 03:31:30 +00:00
bootstrap Refactored the bootstrapper to use a proper Model 2006-07-10 03:31:30 +00:00
integration-tests POM cleanup, remove inherited fields, added license and xsd 2006-07-07 12:23:28 +00:00
maven-artifact Set svn properties 2006-07-08 15:49:37 +00:00
maven-artifact-ant POM cleanup, remove inherited fields, added license and xsd 2006-07-07 12:23:28 +00:00
maven-artifact-manager POM cleanup, remove inherited fields, added license and xsd 2006-07-07 12:23:28 +00:00
maven-artifact-test POM cleanup, remove inherited fields, added license and xsd 2006-07-07 12:23:28 +00:00
maven-cli POM cleanup, remove inherited fields, added license and xsd 2006-07-07 12:23:28 +00:00
maven-core POM cleanup, remove inherited fields, added license and xsd 2006-07-07 12:23:28 +00:00
maven-core-it add plugin snapshot repository to find the plugin when the test is enabled 2006-06-28 15:20:57 +00:00
maven-core-it-verifier POM cleanup, remove inherited fields, added license and xsd 2006-07-07 12:23:28 +00:00
maven-embedder POM cleanup, remove inherited fields, added license and xsd 2006-07-07 12:23:28 +00:00
maven-embedder-it POM cleanup, remove inherited fields, added license and xsd 2006-07-07 12:23:28 +00:00
maven-error-diagnostics POM cleanup, remove inherited fields, added license and xsd 2006-07-07 12:23:28 +00:00
maven-meeper Fix repoclean generation of maven-metadata.xml checksums 2006-07-09 14:35:14 +00:00
maven-model POM cleanup, remove inherited fields, added license and xsd 2006-07-07 12:23:28 +00:00
maven-model-converter Added getters for unused fields 2006-07-07 12:47:11 +00:00
maven-monitor POM cleanup, remove inherited fields, added license and xsd 2006-07-07 12:23:28 +00:00
maven-plugin-api POM cleanup, remove inherited fields, added license and xsd 2006-07-07 12:23:28 +00:00
maven-plugin-descriptor POM cleanup, remove inherited fields, added license and xsd 2006-07-07 12:23:28 +00:00
maven-plugin-parameter-documenter POM cleanup, remove inherited fields, added license and xsd 2006-07-07 12:23:28 +00:00
maven-plugin-registry Fix modello generation 2006-07-07 11:14:32 +00:00
maven-plugin-tools POM cleanup, remove inherited fields, added license and xsd 2006-07-07 12:23:28 +00:00
maven-profile POM cleanup, remove inherited fields, added license and xsd 2006-07-07 12:23:28 +00:00
maven-project POM cleanup, remove inherited fields, added license and xsd 2006-07-07 12:23:28 +00:00
maven-reporting Set svn properties 2006-07-08 15:49:37 +00:00
maven-repository-metadata POM cleanup, remove inherited fields, added license and xsd 2006-07-07 12:23:28 +00:00
maven-repository-tools POM cleanup, remove inherited fields, added license and xsd 2006-07-07 12:23:28 +00:00
maven-script Added codehaus repo because that's not synced with ibiblio yet. 2006-07-08 16:01:51 +00:00
maven-settings Set svn properties 2006-07-08 15:49:37 +00:00
maven-tools POM cleanup, remove inherited fields, added license and xsd 2006-07-07 12:23:28 +00:00
src/assemble Merging from 2.0.x branch, revIds: 2006-04-05 17:43:35 +00:00
README.txt switch bootstrap 2005-11-16 13:31:15 +00:00
bootstrap.bat Fix bootstrap under windows. 2005-11-17 10:27:31 +00:00
bootstrap.sh o we're not going to build the plugins so make sure that someone who has checked out the "maven" 2005-12-23 05:23:17 +00:00
ci.sh it's a duhrectory! 2006-04-08 07:47:04 +00:00
doap_Maven.rdf Re-add previous version 2006-03-29 14:34:19 +00:00
pom.xml Upgrade versions of parent and wagon api 2006-07-01 15:03:25 +00:00

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>