update1: not parameter names, eclipse not display javadoc information @ all. when hover on class nothing displayed.
update2: eclipse version 4.2.0.
i'm using eclipse , attach library's javadocs project when implement interface , choose option add unimplemented methods methods parameter names show correctly instead of arg0, arg1, etc.
problem is:
when generate javadocs through eclipse (project > generate javadocs...) , link project it works, in other words, see correct method parameter names.
when generate javadocs through maven-javadoc-plugin , link project it not work, in other words, see arg0, arg1, etc.
perhaps i'm not configuring maven-javadoc-plugin correctly? below configuration pom.xml:
<plugin> <artifactid>maven-javadoc-plugin</artifactid> <version>2.8</version> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin>
any appreciated. not seeing parameter names bad.
that has this eclipse bug fixed in version 4.3. eclipse stops processing javadoc html file on following line:
<meta http-equiv="content-type" content="text/html" charset="utf-8">
because expecting charset in content attribute below:
<meta http-equiv="content-type" content="text/html; charset=utf-8">
i don't think there way tell maven javadoc plugin change meta tag, can run ant task below maven fix html files:
<replace dir="target/apidocs"> <include name="**/*.html"/> <replacetoken><![cdata[<meta http-equiv="content-type" content="text/html" charset="utf-8">]]></replacetoken> <replacevalue><![cdata[<meta http-equiv="content-type" content="text/html; charset=utf-8">]]></replacevalue> </replace>
Comments
Post a Comment