You are viewing a plain text version of this content. The canonical link for it is here.
Posted to m2-dev@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2005/03/19 06:30:48 UTC

[jira] Created: (MNG-217) change mojos to per-lookup - use fields instead of req parms

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
 Assigned to: Brett Porter 
     Fix For: 1.0-alpha-1


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


[jira] Work started: (MNG-217) change mojos to per-lookup - use fields instead of req parms

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-217?page=history ]
     
Work on MNG-217 started by Brett Porter

> 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

>
>
> 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


[jira] Work logged: (MNG-217) change mojos to per-lookup - use fields instead of req parms

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-217?page=worklog#action_31158 ]

Brett Porter logged work on MNG-217:
------------------------------------

           Time Worked: 4 hours, 45 minutes
            Time Spent: 17100
    Remaining Estimate: 4500  (was: 21600)

got it working, but some types cannot be correctly handled. shuffling in the xpp3dom to be able to do it all in one fell swoop

> 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
>        Time Spent: 4 hours, 45 minutes
>         Remaining: 1 hour, 15 minutes
>
> 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


[jira] Closed: (MNG-217) change mojos to per-lookup - use fields instead of req parms

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-217?page=history ]
     
Brett Porter closed MNG-217:
----------------------------

    Resolution: Fixed

> 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
>        Time Spent: 8 hours, 45 minutes
>         Remaining: 0 minutes
>
> 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


[jira] Updated: (MNG-217) change mojos to per-lookup - use fields instead of req parms

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ 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


[jira] Work logged: (MNG-217) change mojos to per-lookup - use fields instead of req parms

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-217?page=worklog#action_31217 ]

Brett Porter logged work on MNG-217:
------------------------------------

           Time Worked: 4 hours
            Time Spent: 31500  (was: 17100)
    Remaining Estimate: 0  (was: 4500)

this now working. more mojos to convert, but there is a compatibility layer in place.

> 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
>        Time Spent: 8 hours, 45 minutes
>         Remaining: 0 minutes
>
> 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