Xml type has to precede comments.

Found the problem. Comments can't come before the version tag.

Also, I was wrong about needing to `cd JavaTraits`. You should be able to run `mvn clean install` from the top directory.