How can I get profile specific pom properties in web.xml in Spring?

Sunday, July 6, 2014

I am using a service in my spring project.I have following code in my web.xml:-


I have 3 profiles in my pom.xml: staging,development & production:

I am looking for the best practices to get <my.service.url> in my web.xml: