You can use Polyglot-Maven [1] with Maven if you want to use a programming language syntax atop the XML. Polyglot-Maven enables not only Groovy, but also Ruby, Clojure, or Scala to be used with Maven.<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;takari&#x2F;polyglot-maven" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;takari&#x2F;polyglot-maven</a>