Use XML lib instead of string templating.

Inline the rest of the pom.xml into code.
Use "where" instead of "do ... let"