Problem
I'm running mvn javadoc:javadoc
to generate JavaDoc, and I am pleased with the results, except for one thing: it gives the fully qualified class names for any class coming from a third-party library or our own codebase. For example,
It gives a return type of com.project.beans.BeanA, com.project.beans.BeanB for methods that return one of these classes.
It gives a param type of org.codehaus.jettison.json.JSONObject for a method that takes a JSON object. (Whereas it gives a param type of Integer for a method that takes a java.lang.Integer.)
Question
Is there any way to generate the shorthand names for these classes, for readability purposes? i.e. BeanA, BeanB, JSONObject.
And is there a way to do this without any XML configuration?
Thanks in advance :-)
<links>
configuration section in the javadoc plugin configuration. – Fisc