[ad_1]
I have one .properties file present on the internet/online (you can say it’s an external file). I want to read the properties (versions) from it to update the modules’ versions in my .XML file.
I searched about the PropertyPlaceholderConfigurer, but it is deprecated. Is there any other way for this?
Properties file:
github.dd-core=6.5.2
XML file:
<modules>
<module>
<name>dd-core-6.5.2</name>
<artifactid>com.dd-core</artifactid>
<version>6.5.2</version>
</module>
</modules>
Expected Result: In version tag, instead of 6.5.2 I want to use property github.dd-core to update the version at runtime/dynamically. Thank you.
[ad_2]