Maven Checklist

  • Go ahead and download Maven 3.5.0 or later
  • Make sure to setup MVN environment variables and update your PATH with MVN_HOME/M2_HOME
    • Set MVN_OPTS to -Xms2g -Xmx4096m to start off with, increasing if necessary
    • You can add -Djava.awt.headless=true property on the MVN_OPTS to keep Maven and plugins that Maven runs from taking window focus as a build is running.

  • Make sure you've configured settings.xml at ~/.m2