Hi

I have a setup with a bunch of integration tests where each test has a pre- and post-build script in groovy. During the maven-invoker-plugin:run a number of first tests runs ok and then it starts to produce error with the "The pre-build script did not succeed. PermGen space" message.

I am using -XX:MaxPermSize option to run the Maven with a bigger PermGen, but it is somewhat cumbersome to remember to use it during integration tests.

Is there some way to embed the -XX:MaxPermSize option inside the pom that declares maven-invoker-plugin? Or is there some way to ask maven-invoker-plugin or groovy to unload/gc pre/post scripts from the already run tests?

Oleg

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to