You need to increase the heap space for Maven. // Bash export MAVEN_OPTS=-Xmx512m
// Windows set MAVEN_OPTS=-Xmx512m * http://struts.apache.org/2.x/docs/building-with-maven.html -- HTH, Ted <http://www.husted.com/ted/blog/> On 9/20/07, pppsunil <[EMAIL PROTECTED]> wrote: > > Hi, > > I am trying to build latest Struts 2.0 source code on machine but i am > getting this exception. > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.265 sec > Running org.apache.struts2.views.jsp.SortIteratorTagTest > Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.875 sec > Running org.apache.struts2.views.jsp.URLTagTest > Tests run: 44, Failures: 2, Errors: 0, Skipped: 28, Time elapsed: 56.125 sec > <<< > FAILURE! > Running > org.apache.struts2.interceptor.validation.JSONValidationInterceptorTest > Tests run: 6, Failures: 1, Errors: 0, Skipped: 5, Time elapsed: 12.328 sec > <<< F > AILURE! > Running org.apache.struts2.views.jsp.ui.CheckboxTest > org.apache.maven.surefire.booter.SurefireExecutionException: Java heap > space; ne > sted exception is java.lang.OutOfMemoryError: Java heap space > java.lang.OutOfMemoryError: Java heap space > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] There are test failures. > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 3 minutes 4 seconds > [INFO] Finished at: Thu Sep 20 14:04:32 GMT-08:00 2007 > [INFO] Final Memory: 9M/35M > [INFO] > ------------------------------------------------------------------------ > > Do i have to make changes in pom.xml or set any environment variable. I will > also appericate if someone can send me some information on how to setup > development environment. > > Thanks > Sunil --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]