I'm using Eclipse and I would like to attach a library's javadocs to my
project so that when I implement an interface and choose the option *Add
unimplemented methods* the *methods parameter names* show up correctly
instead of *arg0*, *arg1*, etc.
Problem is:
-
When I generate the javadocs through eclipse (Project > Generate
Javadocs...) and link it to my project *it works*, in other words, I see
the correct method parameter names.
-
When I generate the javadocs through maven-javadoc-plugin and link it to
my project *it does not work*, in other words, I see *arg0*, *arg1*, etc.
Perhaps I'm not configuring my maven-javadoc-plugin correctly? Below the
configuration from my*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 help will be appreciated. Not seeing the parameter names is very bad.
-Derek