I compile my project like this:
mvn clean install
But my project has the different parameters for another servers and I need to fix it after compilation (for example location=prod
on production server and location=dev
on local server)
I have a pice of code in my web.xml like this:
<init-param>
<param-name>contextConfigLocation</param-name>
<param-value>
classpath:/properties-config.xml
</param-value>
</init-param>
I want to use the variable location like this :
classpath:/${location}/properties-config.xml