Skip to content

Instantly share code, notes, and snippets.

@gabrielbauman
Created June 1, 2013 06:07
Show Gist options
  • Save gabrielbauman/5689446 to your computer and use it in GitHub Desktop.
Save gabrielbauman/5689446 to your computer and use it in GitHub Desktop.
A Maven profile that detects when the build is running on Heroku.
<profile>
<id>heroku</id>
<activation>
<activeByDefault>false</activeByDefault>
<property>
<name>env.HOME</name>
<value>/app</value>
</property>
</activation>
<!-- Do Heroku-specific stuff here -->
</profile>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment