You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Dave Sag (JIRA)" <ji...@codehaus.org> on 2005/11/16 14:26:06 UTC

[jira] Created: (MNG-1590) Could MavenReportException extend MojoExecutionException

Could MavenReportException extend MojoExecutionException
--------------------------------------------------------

         Key: MNG-1590
         URL: http://jira.codehaus.org/browse/MNG-1590
     Project: Maven 2
        Type: Improvement
  Components: maven-plugins, maven-plugin-api  
    Versions: 2.0    
 Environment: any
    Reporter: Dave Sag
    Priority: Minor


I am writing a few reports now as part of my overall suit of plugins and have found myself repeating myself, simply because MavenReportException does not extend MojoExecutionException.

If MavenReportException did extend MojoExecutionException then my code would be much simpler.

thoughts?



-- 
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-1590) Could MavenReportException extend MojoExecutionException

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

     Assign To: Brett Porter
    Resolution: Won't Fix

these are very different, I think its best to keep them separate. Can you give an example of what you are encountering and perhaps we can find some other solution

> Could MavenReportException extend MojoExecutionException
> --------------------------------------------------------
>
>          Key: MNG-1590
>          URL: http://jira.codehaus.org/browse/MNG-1590
>      Project: Maven 2
>         Type: Improvement
>   Components: maven-plugins, maven-plugin-api
>     Versions: 2.0
>  Environment: any
>     Reporter: Dave Sag
>     Assignee: Brett Porter
>     Priority: Minor

>
>
> I am writing a few reports now as part of my overall suit of plugins and have found myself repeating myself, simply because MavenReportException does not extend MojoExecutionException.
> If MavenReportException did extend MojoExecutionException then my code would be much simpler.
> thoughts?

-- 
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-1590) Could MavenReportException extend MojoExecutionException

Posted by "Dave Sag (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1590?page=comments#action_51619 ] 

Dave Sag commented on MNG-1590:
-------------------------------

I have indeed found a clean solution anyway.  Thanks.  My inexperience with the underpinnings of maven 2 was showing.  still is probably :-)

> Could MavenReportException extend MojoExecutionException
> --------------------------------------------------------
>
>          Key: MNG-1590
>          URL: http://jira.codehaus.org/browse/MNG-1590
>      Project: Maven 2
>         Type: Improvement
>   Components: maven-plugins, maven-plugin-api
>     Versions: 2.0
>  Environment: any
>     Reporter: Dave Sag
>     Assignee: Brett Porter
>     Priority: Minor

>
>
> I am writing a few reports now as part of my overall suit of plugins and have found myself repeating myself, simply because MavenReportException does not extend MojoExecutionException.
> If MavenReportException did extend MojoExecutionException then my code would be much simpler.
> thoughts?

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