Maven 2 & 3

replacing variables in version, groupId or artifactId when POM is installed/deployed