pom rewrite