posted 10 years ago
Hi friends,
How can I use pom properties or system properties in xml files using ${ } notation.
I have a property called CONF_PATH in pom. I am using that in ReloadableResourceBundleMessageSource's value tag...
<value>file:${CONF_PATH}</value>
But it is not working.. Please help me out..
In pom.. I used <resources> tag
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
<includes>
<include>**/*.xml</include>
</includes>
</resource>
</resources>
My xml file is in src/main/resources folder
Thanks in advance,