in the api-to-pom.xsl package name contains "@domain" of the api-tag in the api.xml but the dtd invalidates the addition of an attribute named domain in the api-tag.

so no valid package name is returned in the resulting pom.xml and compilation will fail.

workaround is to manually edit the pom file.