maven/maven-embedder
Kenney Westerhof 711eb8c416 Add get/setParentContainer to the configuration, and use it in
the embedder.

If the classrealm that's passed in has a parent realm, 
then only the resources from the realm are scanned (getRealmResources).
This was done to re-use components from parent realms.

However, when embedding maven within another plexus container,
providing a new dummy classworld with the current classloader
as the parent, no components will be found. Since there's no 
parent container, it won't be checked for components.

So, allowing a parent realm to be set in classworlds also
requires a parent container to be set, so that when no components
are found (since they're present in the parent container),
there is a parent container available to delegate lookups to.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@563173 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 15:38:57 +00:00
..

Installing Maven 2
==================

The following instructions show how to install Maven 2:

1) Unpack the archive where you would like to store the binaries, eg:
  tar zxvf maven-2.0.tar.gz
or
  unzip maven-2.0.zip

2) A directory called "maven-2.0" will be created.

3) Add the bin directory to your PATH, eg:
  export PATH=/usr/local/maven-2.0/bin:$PATH
or
  set PATH="c:\program files\maven-2.0\bin";%PATH%

4) Make sure JAVA_HOME is set to the location of your JDK

5) Run "mvn --version" to verify that it is correctly installed.

For more information, please see http://maven.apache.org