Use profile instead of always generating source/javadoc