You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tamas Cservenak (Jira)" <ji...@apache.org> on 2024/03/01 11:57:00 UTC
[jira] [Assigned] (MNG-8062) Maven should factor in session close failure into build outcome
[ https://issues.apache.org/jira/browse/MNG-8062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tamas Cservenak reassigned MNG-8062:
------------------------------------
Assignee: Tamas Cservenak
> Maven should factor in session close failure into build outcome
> ---------------------------------------------------------------
>
> Key: MNG-8062
> URL: https://issues.apache.org/jira/browse/MNG-8062
> Project: Maven
> Issue Type: Task
> Components: Artifacts and Repositories
> Reporter: Tamas Cservenak
> Assignee: Tamas Cservenak
> Priority: Major
> Fix For: 4.0.0, 4.0.0-alpha-13
>
>
> Since closeable session in Resolver 2.0, the close was implemented, but any possible failure during closing the session would "bubble up", instead to be handled.
> Maven should close and also handle any error that may happen during session close operation. The build outcome ("build success" or "build failure") is evaluated WAY BEFORE repository system session is closed, and this is wrong, as build should fail if session close failed.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)