Return-Path: X-Original-To: apmail-maven-users-archive@www.apache.org Delivered-To: apmail-maven-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 90F3310564 for ; Wed, 15 Jan 2014 08:21:05 +0000 (UTC) Received: (qmail 27363 invoked by uid 500); 15 Jan 2014 08:20:58 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 27057 invoked by uid 500); 15 Jan 2014 08:20:57 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 27037 invoked by uid 99); 15 Jan 2014 08:20:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jan 2014 08:20:55 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mikael.petterson@ericsson.com designates 193.180.251.45 as permitted sender) Received: from [193.180.251.45] (HELO mailgw1.ericsson.se) (193.180.251.45) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jan 2014 08:20:49 +0000 X-AuditID: c1b4fb2d-b7f1c8e000005ceb-c1-52d644ca98ad Received: from ESESSHC009.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw1.ericsson.se (Symantec Mail Security) with SMTP id 45.89.23787.AC446D25; Wed, 15 Jan 2014 09:20:27 +0100 (CET) Received: from ESESSMB109.ericsson.se ([169.254.9.237]) by ESESSHC009.ericsson.se ([153.88.183.45]) with mapi id 14.02.0347.000; Wed, 15 Jan 2014 09:20:26 +0100 From: Mikael Petterson To: Maven Users List Subject: FW: How to include @inheritDoc from a dependent jar Thread-Topic: How to include @inheritDoc from a dependent jar Thread-Index: Ac8RHu3sDnEMqH6hSWezTLshbA+znP//+R+A///g+7D//oneIA== Date: Wed, 15 Jan 2014 08:20:26 +0000 Message-ID: References: Accept-Language: sv-SE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [153.88.183.16] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrJLMWRmVeSWpSXmKPExsUyM+Jvje5pl2tBBn8/Slo82nqd0YHRo/2p UABjFJdNSmpOZllqkb5dAlfGrxUHmAuahSuark1hbmD8xtfFyMkhIWAi8W7NDGYIW0ziwr31 bF2MXBxCAocYJVqWLWSHcJYwSmye9IsFpIpNwEzi9eImRhBbREBX4uHFJ2DdwgI2Ev13rrFD xG0lfh5bxgJhO0nM+v0EqJ6Dg0VAVeL7ozyQMK+At8TCpV1grUICNRJtc+aCtTIKyErc/34P rJVZQFzi1pP5TBDHCUgs2XMe6lBRiZeP/7FC2IoSO8+2M0PU60gs2P2JDcLWlli28DUzxC5B iZMzn7BMYBSZhWTsLCQts5C0zELSsoCRZRUje25iZk56ueEmRmBwH9zyW3cH46lzIocYpTlY lMR5P7x1DhISSE8sSc1OTS1ILYovKs1JLT7EyMTBKdXAqKLikhB5n2WZcPWuFS1/vFTf5S55 UuDhpMawOFjS7d3KD79Wsy34r145947q2oZV1zPigxZvl5I9PGm+S+4C3e+On/M73Juaqo2Y 6vL5/DVdWkv2b5fOYrk2I2GP9BHv034t5Q4LuhueKWwMCkrxYxLxX9wiOHeLgp6G3ukt/ydd jSi+xM6hxFKckWioxVxUnAgA91swmDwCAAA= X-Virus-Checked: Checked by ClamAV on apache.org Hi, New try :-) I have the following: Interface in dependency jar javadoc: /** * Deletes the object found at the specified location. *=20 * @param Object any type of object * @throws InvalidObjectException lots of text * @throws NoSuchObjectException lots of text */ public void delete (Object object)throws throws InvalidObjectException, NoS= uchObjectException; Implementing class: /** * {@inheritDoc} */ @Override public void delete(Object object) throws InvalidObjectException, NoSuch= ObjectException { //implementation of delete } Is this correct or? Since this will not produce any javadoc for implement= ation of delete ( last code). =20 Do I need to do anything special in the maven javadoc plugin? Br. //mike -----Original Message----- From: Martin Gainty [mailto:mgainty@hotmail.com] Sent: den 14 januari 2014 13:27 To: users@maven.apache.org Subject: RE: How to include @inheritDoc from a dependent jar =20 > From: mikael.petterson@ericsson.com > To: users@maven.apache.org > Subject: How to include @inheritDoc from a dependent jar > Date: Tue, 14 Jan 2014 12:14:21 +0000 >=20 > Hi, >=20 > We are building a maven site that will contain javadoc for our AppX api (= jar file). > AppX depends on a few other jar files ( that we have built using maven) .= One dependency jar contain an interface with javadoc and we have a class i= mplementing it, in AppX. > AppX has @inheritDoc in in the javadoc so we don't have to rewrite it. >=20 > When I use the following under >=20 > > org.apache.maven.plugins > maven-javadoc-plugin > 2.8.1 > >=20 > But when I open up the javadoc for my Appx and look at the class implemen= ting the interface there is no javadoc. What am I missing? MG>@Inheritdoc pulls Javadoc comments @comment @author @param @throws=20 MG>@return from Implemented interface If you have none of the Javadoc=20 MG>tags in the corresponding base method of implemented interface then=20 MG>AppX class will not be able to 'inherit' those Javadoc attributes =20 > Br, >=20 > //mike "The longest journey is the the journey inwards..Of him who has chosen his = dentiny..Who has started upon his quest for the source of his being".... Da= g Hammarskjold =20 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org