Have you tried increasing the max heap size for maven by setting MAVEN_OPTS?
On Fri, 2007-09-07 at 02:08 -0700, Larry Suto wrote: > Hi I am trying to upload an artifact to Maven repository with > deploy:deploy-file. I am getting a java.lang.OutOfMemoryError > . The file is about 42mb in size. I am using Maven 2.07. Has anyone else > come across this problem. > > Thanks, > > Larry