MAVEN_OPTS didn't work... I think javadoc runs in a different process and memory options from parent don't apply. I ended up doing [1] from Nick's suggestion. The problem is that I now have two tags in svn for the same version (not a huge deal). I still can't don't understand how to pass arguments the the javadoc plugin during mvn release:perform.
Thanks On Fri, Mar 14, 2008 at 7:59 AM, <[EMAIL PROTECTED]> wrote: > You can add the javadoc plugin to the build section of your pom, to > specify the max memory. [1] Or you can add the arguments parameter to the > release plugin to specify the javadoc property. [2] > > Hth, > > Nick S. > > > [1] > http://maven.apache.org/plugins/maven-javadoc-plugin/javadoc-mojo.html#maxmemory > [2] > http://maven.apache.org/plugins/maven-release-plugin/perform-mojo.html#arguments > > > -----Original Message----- > From: Mailing List [mailto:[EMAIL PROTECTED] > Sent: Fri 3/14/2008 12:04 > To: Maven Users List > Subject: Re: Specify javadoc maxmemory during release:perform > > Hi, you can use MVN_OPTS environment variable to pass argument to the > jvm : > > # MAVEN_OPTS - parameters passed to the Java VM when running Maven > > for example > > set MAVEN_OPTS =-Xms512m -Xmx1024m > > bye, > Ander > > On 13/mar/08, at 21:12, Steve Chernyak wrote: > > > I'm running out of memory during a release:perform while generating > > javadoc. > > Is there any way to specify the maven.javadoc.maxmemory property at > > command > > line during the "mvn release:perform" command? > > > > Thanks > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > >
