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 2025/02/02 15:48:00 UTC
[jira] [Commented] (MNG-8552) Codify exit codes
[ https://issues.apache.org/jira/browse/MNG-8552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17923119#comment-17923119 ]
Tamas Cservenak commented on MNG-8552:
--------------------------------------
We could go like 1-9 "early errors", over 10 for build errors?
Important distinction would be that in case of error < 10 error would stem from invoker, so maven was not even "booted" (created). Unsure though, does such distinction even makes sense...
> Codify exit codes
> -----------------
>
> Key: MNG-8552
> URL: https://issues.apache.org/jira/browse/MNG-8552
> Project: Maven
> Issue Type: Task
> Components: Command Line
> Reporter: Tamas Cservenak
> Priority: Major
> Fix For: 4.0.0-rc-3
>
>
> Maybe it is time to consider to codify various exit codes. Currently:
> * 0 - OK
> * 1 - any error
> Now that we can differentiate, we may want some more errors (like 1-9 when Maven did not even start, like bad args), and > 10 when Maven project failed?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)