Get maven to build a java application using the values from the application-production.properties rather than from application.properties
I am trying to deploy a spring application in production mode. When I run the application locally with the profile production and set the -Dspring.profiles.active=production, the application will using my sql database. However, when I build with maven and deploy to azure, the application runs in deployment mode. I have confirmed that it is deployment mode as none of the work is stored on the database unlike when it is ran locally. I can also confirm there is no rollback due to having a version string which I have displayed on the login page to let me know if my code is actually being deployed.