You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2005/04/12 01:24:15 UTC

[jira] Created: (MNG-293) mojo parameter validation should communicate expression

mojo parameter validation should communicate expression
-------------------------------------------------------

         Key: MNG-293
         URL: http://jira.codehaus.org/browse/MNG-293
     Project: m2
        Type: Sub-task
  Components: maven-core  
    Reporter: Brett Porter
     Fix For: 2.0-alpha-2


in the case where a mojo parameters is missing or incorrectly specified, and there was an expression given from the project we should translate it back to explain what was missing from the POM to the user.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNG-293) mojo parameter validation should communicate expression

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-293?page=comments#action_38549 ]
     
Brett Porter commented on MNG-293:
----------------------------------

the expression part is ok. What I was thinking of here was translating the expression back to something more identifiable with the section of the pom (if there is no expression, it should talk in terms of the <plugins/> section). It would also be worth handling failed sets in a similar way.

> mojo parameter validation should communicate expression
> -------------------------------------------------------
>
>          Key: MNG-293
>          URL: http://jira.codehaus.org/browse/MNG-293
>      Project: m2
>         Type: Sub-task
>   Components: maven-core
>     Reporter: Brett Porter
>     Assignee: John Casey
>      Fix For: 2.0-alpha-2

>
>
> in the case where a mojo parameters is missing or incorrectly specified, and there was an expression given from the project we should translate it back to explain what was missing from the POM to the user.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNG-293) mojo parameter validation should communicate expression

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-293?page=comments#action_38504 ]
     
John Casey commented on MNG-293:
--------------------------------

has this been fixed? See line 782 in DefaultPluginManager in maven-core...looks fixed to me.

> mojo parameter validation should communicate expression
> -------------------------------------------------------
>
>          Key: MNG-293
>          URL: http://jira.codehaus.org/browse/MNG-293
>      Project: m2
>         Type: Sub-task
>   Components: maven-core
>     Reporter: Brett Porter
>     Assignee: John Casey
>      Fix For: 2.0-alpha-2

>
>
> in the case where a mojo parameters is missing or incorrectly specified, and there was an expression given from the project we should translate it back to explain what was missing from the POM to the user.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MNG-293) mojo parameter validation should communicate expression

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


verified

> mojo parameter validation should communicate expression
> -------------------------------------------------------
>
>          Key: MNG-293
>          URL: http://jira.codehaus.org/browse/MNG-293
>      Project: Maven 2
>         Type: Sub-task
>   Components: maven-core
>     Reporter: Brett Porter
>     Assignee: John Casey
>      Fix For: 2.0-alpha-2

>
>
> in the case where a mojo parameters is missing or incorrectly specified, and there was an expression given from the project we should translate it back to explain what was missing from the POM to the user.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Resolved: (MNG-293) mojo parameter validation should communicate expression

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-293?page=all ]
     
John Casey resolved MNG-293:
----------------------------

    Resolution: Fixed

fixed via ErrorDiagnoser implementation (PluginConfigurationDiagnoser)

> mojo parameter validation should communicate expression
> -------------------------------------------------------
>
>          Key: MNG-293
>          URL: http://jira.codehaus.org/browse/MNG-293
>      Project: m2
>         Type: Sub-task
>   Components: maven-core
>     Reporter: Brett Porter
>     Assignee: John Casey
>      Fix For: 2.0-alpha-2

>
>
> in the case where a mojo parameters is missing or incorrectly specified, and there was an expression given from the project we should translate it back to explain what was missing from the POM to the user.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org