Fix some warning in pom templates