I want my default active profile to be production if -Dspring.profiles.active is not set.
production
-Dspring.profiles.active
I tried the following in my application.pro
application.pro
you can also have multiple listings in the @Profile annotation
@Profile({"dev","default"})
If you set "default" as an additional value, you don't have to specify spring.profiles.active