Author: brianf
Date: Tue Nov 27 09:28:59 2007
New Revision: 598708
URL: http://svn.apache.org/viewvc?rev=598708&view=rev
Log:
MNG-2411 - building maven site guide
Modified:
maven/site/trunk/src/site/apt/guides/development/guide-building-m2.apt
Modified: maven/site/trunk/src/site/apt/guides/development/guide-building-m2.apt
URL:
http://svn.apache.org/viewvc/maven/site/trunk/src/site/apt/guides/development/guide-building-m2.apt?rev=598708&r1=598707&r2=598708&view=diff
==============================================================================
--- maven/site/trunk/src/site/apt/guides/development/guide-building-m2.apt
(original)
+++ maven/site/trunk/src/site/apt/guides/development/guide-building-m2.apt Tue
Nov 27 09:28:59 2007
@@ -80,18 +80,47 @@
* Building Maven 2.0 with Maven installed
If you already have Maven installed, it can be faster to build a new version
with Maven, rather than a clean bootstrap.
+
+ You may need to add the snapshots repository to your settings:
+
++---+
+<settings>
+ <profiles>
+ <profile>
+ <repositories>
+ <repository>
+ <id>apache.snapshots</id>
+ <name>Apache Snapshot Repository</name>
+ <url>http://people.apache.org/repo/m2-snapshot-repository</url>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ </repository>
+ </repositories>
+ </repositories>
+ <pluginRepositories>
+ <pluginRepository>
+ <id>apache.snapshots</id>
+ <name>Apache Snapshot Repository</name>
+ <url>http://people.apache.org/repo/m2-snapshot-repository</url>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ </pluginRepository>
+ </pluginRepositories>
+ <id>m2.snapshotbuild</id>
+ </profile>
+ </profiles>
+ <activeProfiles>
+ <activeProfile>m2.snapshotbuild</activeProfile>
+ </activeProfiles>
+</settings>
++---+
To do this, run from the <<<maven-2.0.x>>> directory:
----
mvn install
-----
-
- This will build, test and install all libraries in the local repository.
Next, if you want to produce the binary distribution:
-
-----
-cd maven-core
-mvn assembly:assembly
----
The assemblies will be created in <<<target>>> and can be unzipped to the
location where you'd like Maven installed.