XMLBeam is available as Maven dependency via central repository or as direct jar download.
Just add the following to your pom.xml:
<dependency>
<groupId>org.xmlbeam</groupId>
<artifactId>xmlprojector</artifactId>
<version>1.4.26</version>
</dependency>