Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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