modify *.java and *.pom.tpl