mikael petterson created MJAVADOC-383:
-----------------------------------------
Summary: @inheritDoc is not working
Key: MJAVADOC-383
URL: https://jira.codehaus.org/browse/MJAVADOC-383
Project: Maven Javadoc Plugin
Issue Type: Bug
Affects Versions: 2.8.1
Environment: mvn --version
Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17
17:22:22+0200)
Maven home: /app/maven/3.1.1/LMWP3
Java version: 1.7.0_13, vendor: Oracle Corporation
Java home: /afs/path/se/app/jdk/.sys/@sys/1.7.0_13/LMWP3/jre
Default locale: en_US, platform encoding: ISO-8859-1
OS name: "linux", version: "2.6.32.45-0.3-xen", arch: "amd64", family: "unix"
Reporter: mikael petterson
For my maven project I have a dependency (Maven dependency in Eclipse) that is
downloaded from a nexus server. I have verified that the source for my
dependency is downloaded in the .m2/repository directory.
I have added the following to my pom.xml ( under <build>):
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<includeDependencySources>true</includeDependencySources>
<dependencySourceIncludes>
<dependencySourceInclude>managed-objects:*</dependencySourceInclude>
</dependencySourceIncludes>
</configuration>
</plugin>
I run the 'mvn clean install'
Then I run:
'mvn site:run'
When I check the javadoc for delete(Object object) in the class implementing
the interface there is none and this in not correct since javadoc in
implementing class would show what was written in the interface.
I assume that this is not correct behavior.
/**
> * Deletes the object found at the specified location.
> *
> * @param Object any type of object
> * @throws InvalidObjectException lots of text
> * @throws NoSuchObjectException lots of text
> */
> public void delete (Object object)throws throws
> InvalidObjectException, NoSuchObjectException;
>
> Implementing class:
>
> /**
> * {@inheritDoc}
> */
> @Override
> public void delete(Object object) throws InvalidObjectException,
> NoSuchObjectException {
> //implementation of delete
> }
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira