incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r659132 - /incubator/sling/trunk/parent/pom.xml
Date Thu, 22 May 2008 15:21:17 GMT
Author: bdelacretaz
Date: Thu May 22 08:21:16 2008
New Revision: 659132

URL: http://svn.apache.org/viewvc?rev=659132&view=rev
Log:
SLING-443 - warn that MAVEN_OPTS="-Xmx256M" is currently required

Modified:
    incubator/sling/trunk/parent/pom.xml

Modified: incubator/sling/trunk/parent/pom.xml
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/parent/pom.xml?rev=659132&r1=659131&r2=659132&view=diff
==============================================================================
--- incubator/sling/trunk/parent/pom.xml (original)
+++ incubator/sling/trunk/parent/pom.xml Thu May 22 08:21:16 2008
@@ -131,6 +131,33 @@
                     </execution>
                 </executions>
             </plugin>
+            
+            <!-- warn for SLING-443 -->
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-antrun-plugin</artifactId>
+              <executions>
+                <execution>
+                  <phase>process-resources</phase>
+                  <configuration>
+                    <tasks>
+                      <echo>
+********************** WARNING (SLING-443) **********************************
+On most platforms, building Sling currently requires setting 
+MAVEN_OPTS="-Xmx256M", see https://issues.apache.org/jira/browse/SLING-443
+You might get a "java.lang.OutOfMemoryError: Java heap space" if that
+setting is not correct.
+*****************************************************************************
+                      </echo>
+                    </tasks>
+                  </configuration>
+                  <goals>
+                    <goal>run</goal>
+                  </goals>
+                </execution>
+              </executions>
+            </plugin>
+            
         </plugins>
 
         <pluginManagement>



Mime
View raw message