Hi Joao

Maybe I'm wrong about this, but I don't think there would be a way to set
those in the pom as the jetty plugin runs inside the same JVM that maven
runs in and I don't know of a way to set those after the JVM has been
created.  I think you're going to need to find a way (maybe using MAVEN_OPTS
as you've tried, but I don't know much about that) to invoke the java
command with your settings.

Cheers,
Craig

On 8/2/07, João Kreuzberg <[EMAIL PROTECTED]> wrote:
>
> Hello Guys,
>
> I need to setup some memory config from my maven-jetty plugin.
>
> Tried to set MAVEN_OPTS=-Xms1024M -Xmx1024M -XX:PermSize=96M
> -XX:MaxPermSize=128M
>
> but didn't work.
>
> The best scenario for me would be configure this within my pom.xml file.
>
> Any idea if that is possible?
>
> Any solution that allow me to configure the memory just for running jetty
> will be ok.
>
> Best Regards,
>
> --
> João Kreuzberg
>

Reply via email to