You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Guillaume Nodet (Jira)" <ji...@apache.org> on 2025/01/29 08:22:00 UTC
[jira] [Closed] (MNG-8541) Support throwing Exception from Mojo#execute
[ https://issues.apache.org/jira/browse/MNG-8541?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet closed MNG-8541.
--------------------------------
Resolution: Fixed
> Support throwing Exception from Mojo#execute
> --------------------------------------------
>
> Key: MNG-8541
> URL: https://issues.apache.org/jira/browse/MNG-8541
> Project: Maven
> Issue Type: Improvement
> Affects Versions: 4.0.0-beta-5
> Reporter: Christoph Läubrich
> Assignee: Guillaume Nodet
> Priority: Major
> Fix For: 4.0.0-rc-3
>
>
> Currently one needs to wrap checked exceptions into Mojo(failure)Exceptions but this is rather inconvenient and boilerplate.
> Instead it would be good if the mojo is allowed to throw any exception and they are wrapped on the caller site.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)