Note |
---|
This page is outdated and no longer receives updates! |
Configuration
These pages describes how to use the popular Maven with the most common Java IDEs
For groups of developers working on limited internet connections it may be worth setting up a Maven proxy to reduce the amount of traffic required for Maven development. See Setting up a Maven proxy server for instructions on setting up the Nexus proxy server.
...
In Linux: Add a file called ".mavenrc" to your home directory with this content:
No Formatcode MAVEN_OPTS="$MAVEN_OPTS -Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m"
In Windows: Add a new environment variable called MAVEN_OPTSand set it to
No Formatcode -Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m
In Eclipse: Within the relevant Run Configuration, select the JRE tab and set the VM Argumentsto
No Formatcode -Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m
...