[ 
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 6/4/23 8:51 AM:
-------------------------------------------------------------

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

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

> Allow comments in .mvn/maven.config
> -----------------------------------
>
>                 Key: MNG-7698
>                 URL: https://issues.apache.org/jira/browse/MNG-7698
>             Project: Maven
>          Issue Type: Improvement
>          Components: Command Line
>            Reporter: Slawomir Jaranowski
>            Assignee: Guillaume Nodet
>            Priority: Major
>             Fix For: 3.9.3, 4.0.0-alpha-6, 4.0.0
>
>
> 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)

Reply via email to