javadocs are generated in two steps

1. pom file is generated 
   maven invoker plugin runs javadocs-builder/src/it/generate-javadocs-pom-file
   generated pom file is copied to javadocs-builder/src/it/generate-javadocs-file
2. javadocs jar file is generated
   maven invoker plugin runs javadocs-builder/src/it/generate-javadocs-file
3. generated javadocs jar file is attached to deployed artifacts
   see wildfly-aggregate-javadocs/pom.xml

