Return-Path: Delivered-To: apmail-maven-m2-dev-archive@www.apache.org Received: (qmail 68100 invoked from network); 30 Mar 2005 13:13:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Mar 2005 13:13:56 -0000 Received: (qmail 79316 invoked by uid 500); 30 Mar 2005 13:13:55 -0000 Delivered-To: apmail-maven-m2-dev-archive@maven.apache.org Received: (qmail 79295 invoked by uid 500); 30 Mar 2005 13:13:55 -0000 Mailing-List: contact m2-dev-help@maven.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Maven 2 Developers List" Reply-To: "Maven 2 Developers List" Delivered-To: mailing list m2-dev@maven.apache.org Received: (qmail 79282 invoked by uid 99); 30 Mar 2005 13:13:55 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from mail-03.iinet.net.au (HELO mail.iinet.net.au) (203.59.3.35) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 30 Mar 2005 05:13:55 -0800 Received: (qmail 30453 invoked from network); 30 Mar 2005 13:13:45 -0000 Received: from unknown (HELO ?10.1.1.3?) (203.206.246.233) by mail.iinet.net.au with SMTP; 30 Mar 2005 13:13:45 -0000 Message-ID: <424AA5FF.70706@apache.org> Date: Wed, 30 Mar 2005 23:13:35 +1000 From: Brett Porter User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Maven 2 Developers List Subject: Re: Plugin parameters References: <00f501c53529$61d13900$0200a8c0@cgeyfr.cgey.fr> In-Reply-To: <00f501c53529$61d13900$0200a8c0@cgeyfr.cgey.fr> X-Enigmail-Version: 0.91.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I'm in favour of this - it was the intention of: http://jira.codehaus.org/browse/MNG-221 If you'd like to add your examples to enhance that, that'd be great. I guess we should do this for alpha-2 so the mojo specification can be finalised. I'll schedule it. Cheers, Brett Emmanuel Venisse wrote: >Hi, > >Can we change the plugin parameter definition from class comment to field >comment for obtain a more readable source? > >Actually, we have : >/** > ... > * @parameter name="outputDirectory" > * type="String" > * required="true" > * validator="" > * expression="#project.build.outputDirectory" > * description="" > ... > */ > >Can we replace this by : > >/** > * Description is here like a javadoc comment > * @parameter > * alias="optional name that replace the field name" > * required="true" > * validator="" > * expression=="#project.build.outputDirectory" > */ > String outputDirectory="aDefaultValue"; > >=> the type isn't an attribute of parameter but the type of field > >I'm not sure if it's possible for inherited classes with inherited parameter >field. > >Emmanuel > > > >