You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2023/02/17 20:55:00 UTC

[jira] [Comment Edited] (MNG-7698) Allow comments in .mvn/maven.config

    [ https://issues.apache.org/jira/browse/MNG-7698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17690589#comment-17690589 ] 

Michael Osipov edited comment on MNG-7698 at 2/17/23 8:54 PM:
--------------------------------------------------------------

Commons CLI is in maintenance mode. It has no real future. Maybe Java will expose its API in future, but I can think of, at least:

* https://github.com/kohsuke/args4j
* https://github.com/cbeust/jcommander
* https://github.com/remkop/picocli
* https://github.com/jopt-simple/jopt-simple

See: https://sfuhrm.de/en/java-command-line-parsing-libraries-compared/

Of course, they need first to over our current requirements...

In an ideal library, we'd just provide the patch to the {{@argfile}} without parsing ourselves.


was (Author: michael-o):
Commons CLI is in maintenance mode. It has no real future. Maybe Java will expose its API in future, but I can think of, at least:

* https://github.com/kohsuke/args4j
* https://github.com/cbeust/jcommander
* https://github.com/remkop/picocli
* https://github.com/jopt-simple/jopt-simple

See: https://sfuhrm.de/en/java-command-line-parsing-libraries-compared/

Of course, they need first to over our current requirements...

> Allow comments in .mvn/maven.config
> -----------------------------------
>
>                 Key: MNG-7698
>                 URL: https://issues.apache.org/jira/browse/MNG-7698
>             Project: Maven
>          Issue Type: Improvement
>            Reporter: Slawomir Jaranowski
>            Assignee: Slawomir Jaranowski
>            Priority: Major
>
> Since {{.mvn/maven.config}} requires each arguments in new line,
> it is easy to skip line beginning with special char - like {{#}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)