add method to resolve expressions in a string, to enable resolving project.version and project.groupId expressions often found in dependencies, etc.