maven/maven-core
Kenney Westerhof 309f26b810 Sometimes plugins get added in an unofficial way - the pluginDiscovererManager
sees the plugin and marks it as 'installed' (it's in a hashtable somewhere).
The official way is to go through verifyPlugin. That gets called later on
for that plugin, which only calls addPlugin (that registers, resolves,
and, most importantly, creates a childContainer for that plugin!) IF
the plugin is NOT yet registered.

Since it is registered in the hashtable, but no childRealm was made there,
addPlugin doesn't get called. Added a simple check to ALSO call 'addPlugin'
if it was added to the hashtable. Side effect is that the version that
was normally going to be used is now used and overrides the other version.

This really needs a cleanup!

Committing anyway:

01:26<trygvis> right now I think we're allowed to push over old ladies and
               steal candy from small children to get this to work



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@231353 13f79535-47bb-0310-9956-ffa450edef68
2005-08-10 23:31:40 +00:00
..
2004-08-09 19:02:31 +00:00
2004-08-09 19:02:31 +00:00
2004-08-09 19:02:31 +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-SNAPSHOT.tar.gz
or
  unzip maven-2.0-SNAPSHOT.zip

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

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

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

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

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