Using the maven-war-plugin instead of maven-resources-plugin for filtering the login page (for replacing the "${project.version}" with the project version).