Skip to content
Commit 1015b395 authored by Baptiste Mathus's avatar Baptiste Mathus
Browse files

Add the .mvn directory and set default Xmx value

Using the new feature introduced in Maven 3.3.1.
See
https://maven.apache.org/docs/3.3.1/release-notes.html#JVM_and_Command_Line_Options
for more details.

Possibly a long term better solution/first encounter for newcomers. When
people can't build Jenkins because of wrong default memory settings.
Like https://goo.gl/Co9kye

The "Xmx800m" was chosen after looking at last successful ci.j.o builds.
Max memory displayed by Maven being ~730MB. So putting 800 to leave the
build some room so that the GC has less chance to have to chime in too
often.
parent 573d0920
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment