generate sources and javadocs