fix maven build if generate.javadoc is false