add document gen directives to pom