KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a properties file called ApplicationResources.properties in my application with a property that changes depending on the environment. Let us say the property is: resources.location=/home/username/resources and this value is different when the application is executed during development and when the application goes into production. I know that I can use different profiles in Maven to perform different build tasks in different environments. What I want to do is somehow replace the value of the resources.location in the properties file based on the Maven profile in use. Is this even possible?
Tags (comma-separated)
Save Edits
Cancel