Maven resource filtering not working - because of spring boot dependency [duplicate]

At last found the answer from the link in my comments. As this is a spring boot application ...special case... the notations should be

@xxxxx@  instead of ${xxxxx}

So my property file would be as below

### Spring boot properties
[email protected]@
ldap.domain=@ldap_domain@
ldap.url=@ldap_url@