Return-Path: Delivered-To: apmail-maven-m2-dev-archive@www.apache.org Received: (qmail 59584 invoked from network); 20 Mar 2005 21:57:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Mar 2005 21:57:48 -0000 Received: (qmail 17025 invoked by uid 500); 20 Mar 2005 21:57:48 -0000 Delivered-To: apmail-maven-m2-dev-archive@maven.apache.org Received: (qmail 16994 invoked by uid 500); 20 Mar 2005 21:57:47 -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 16980 invoked by uid 99); 20 Mar 2005 21:57:47 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from beaver.codehaus.org (HELO codehaus.org) (64.7.141.17) by apache.org (qpsmtpd/0.28) with SMTP; Sun, 20 Mar 2005 13:57:47 -0800 Received: (qmail 21273 invoked from network); 20 Mar 2005 21:57:45 -0000 Received: from localhost (HELO beaver.codehaus.org) (127.0.0.1) by codehaus.org with SMTP; 20 Mar 2005 21:57:45 -0000 Message-ID: <1759721.1111355865809.JavaMail.jira@beaver.codehaus.org> Date: Sun, 20 Mar 2005 16:57:45 -0500 (EST) From: "Brett Porter (JIRA)" To: m2-dev@maven.apache.org Subject: [jira] Updated: (MNG-217) change mojos to per-lookup - use fields instead of req parms In-Reply-To: <25168234.1111210248670.JavaMail.jira@beaver.codehaus.org> Mime-Version: 1.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 [ http://jira.codehaus.org/browse/MNG-217?page=history ] Brett Porter updated MNG-217: ----------------------------- Remaining Estimate: 21600 Original Estimate: 21600 > change mojos to per-lookup - use fields instead of req parms > ------------------------------------------------------------ > > Key: MNG-217 > URL: http://jira.codehaus.org/browse/MNG-217 > Project: m2 > Type: Improvement > Components: maven-core > Reporter: Brett Porter > Assignee: Brett Porter > Fix For: 1.0-alpha-1 > > Original Estimate: 6 hours > Remaining: 6 hours > > Currently, the mojos use a parameter map. Setting this up is a little tedious and can be error prone. > The parameters can be populated as fields. This will make them simpler to develop and less error prone. It should also facilitate easier use of complex configuration like lists and nested objects using the existing plexus configuration technique. > It may be appropriate to move the qdox tags to the parameters themselves, reducing the need for as much configuration, but that is a secondary task - to be opened later after more thought. > If possible the request should be removed (the log can be made a part of AbstractPlugin - need to check anything else in the request that might not suit this). The reponse can already be removed and made into a return type as it only has one object within it. THis greatly simplifies the interface to: > public PluginExecutionResult execute() > throws PluginExecutionException; -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira