Simplifying pom (some things can be solved elegantly even in Maven)