Author: jukka
Date: Thu Jun 26 00:58:34 2008
New Revision: 671820

URL: http://svn.apache.org/viewvc?rev=671820&view=rev
Log:
SLING-555: mvn install on svn checkout fails if sling-3-incubator is not 
available
    - Documented the required Maven settings in README.txt

Modified:
    incubator/sling/trunk/README.txt

Modified: incubator/sling/trunk/README.txt
URL: 
http://svn.apache.org/viewvc/incubator/sling/trunk/README.txt?rev=671820&r1=671819&r2=671820&view=diff
==============================================================================
--- incubator/sling/trunk/README.txt (original)
+++ incubator/sling/trunk/README.txt Thu Jun 26 00:58:34 2008
@@ -22,11 +22,42 @@
 Getting started
 ---------------
 
-Requires a Java 5 JDK and Maven (http://maven.apache.org/) 2.0.7 or later.
+You need a Java 5 (or higher) JDK and Maven 2 (http://maven.apache.org/,
+version 2.0.7 or higher) to build Sling.
 
-To build Sling, run
+Sling depends on artifacts and plugins available only in the Incubator Maven
+repository at Apache. You can make this repository available to Maven by
+adding the following profile in your ~/.m2/settings.xml configuration file:
+
+    <?xml version="1.0"?>
+    <settings>
+      <profiles>
+        <profile>
+          <id>apache-incubation</id>
+          <activation>
+            <activeByDefault>true</activeByDefault>
+          </activation>
+          <repositories>
+            <repository>
+              <id>apache.incubating</id>
+              <name>Apache Incubating Repository</name>
+              <url>http://people.apache.org/repo/m2-incubating-repository</url>
+            </repository>
+          </repositories>
+          <pluginRepositories>
+            <pluginRepository>
+              <id>apache.incubating.plugins</id>
+              <name>Apache Incubating Plugin Repository</name>
+              <url>http://people.apache.org/repo/m2-incubating-repository</url>
+            </pluginRepository>
+          </pluginRepositories>
+        </profile>
+      </profiles>
+    </settings>
 
-  mvn clean install
+Once you have everything in place, run
+
+    MAVEN_OPTS=-Xmx256m mvn clean install
 
 in this directory. This will build, test and install the Sling modules
 in your local Maven repository.


Reply via email to