Heroku's Java support now permits custom Maven settings file
Change effective on 06 August 2014
Heroku Java now allows a custom settings.xml file for Maven projects. A Maven settings file defines values that configure Maven execution in various ways.
There are three methods to include a settings file in a Heroku project:
Put a file named
settings.xmlin the root directory of the project.Define the
MAVEN_SETTINGS_PATHconfig variable to the location of a settings file relative to the root directory.Define the
MAVEN_SETTINGS_URLconfig variable to the URL of a settings file.
For more information see the Devcenter article on using Maven settings files with Heroku.