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]


Reply via email to