[gatein-dev] building gatein with a clean maven repo

Matt Wringe mwringe at redhat.com
Fri Oct 30 11:32:08 EDT 2009


On Fri, 2009-10-30 at 16:22 +0100, Julien Viet wrote:
> Personally I have a large heap space for building (512mo) so I never  
> experience that.

Changing the java memory options was the first thing I tried (set using
maven_opts) max set to 1024mb. It doesn't change anything (unless
packaging needs it set somewhere else).

> 
> On Oct 30, 2009, at 3:10 PM, Matt Wringe wrote:
> 
> > Has anyone experienced problems when trying to build gatein using a
> > clean (ie empty) maven repo?
> >
> > I can build the portal part fine, but when I go to package the  
> > portal I
> > run into some issues. The packaging build claims it was successful,  
> > but
> > there are error message like these in the logs:
> >
> >> [INFO] [INFO]  
> >> ------------------------------------------------------------------------
> >> [INFO] [ERROR] FATAL ERROR
> >> [INFO] [INFO]  
> >> ------------------------------------------------------------------------
> >> [INFO] [INFO] Java heap space
> >> [INFO] [INFO]  
> >> ------------------------------------------------------------------------
> >> [INFO] [INFO] Trace
> >> [INFO] java.lang.OutOfMemoryError: Java heap space
> >
> > This will cause that part of the build to stop, but it still continues
> > with the other part of the build and claims at the end that the  
> > build is
> > successful when its not.
> >
> > This only occurs with a fresh maven repo and the Java heap space issue
> > occurs after its been downloading artifacts for a while. The  
> > downloading
> > of artifacts is also really slow and strange for the packaging part.
> >
> > Has anyone else experience this? Or is it only me?
> >
> > On Linux with JDK 1.6 and Maven 2.2.1
> >
> > _______________________________________________
> > gatein-dev mailing list
> > gatein-dev at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/gatein-dev
> 



More information about the gatein-dev mailing list