[ 
https://issues.apache.org/jira/browse/MNG-6069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Scholte updated MNG-6069:
--------------------------------
    Description: 
At the moment all parts of {{OptionBuilder...}} are marked deprecated in 
{{CLIManager}}. They should be migrated to:
{code:java}
Option.builder( HELP ).longOpt( "help" ).desc( "Display help information" 
).build()
{code}

Ensure that the following command succeeds: {{mvn -X -D x=1 -D y=2 test}} ( 
watch out for the space after {{-D}} )

  was:
At the moment all parts of {{OptionBuilder...}} are marked deprecated in 
{{CLIManager}}. They should be migrated to:
{code:java}
Option.builder( HELP ).longOpt( "help" ).desc( "Display help information" 
).build()
{code}


> Migrate to non deprecated parts of Commons CLI
> ----------------------------------------------
>
>                 Key: MNG-6069
>                 URL: https://issues.apache.org/jira/browse/MNG-6069
>             Project: Maven
>          Issue Type: Improvement
>          Components: Embedding
>    Affects Versions: 3.3.9, 3.5.0-alpha-1, 3.5.0-beta-1, 3.5.0
>            Reporter: Karl Heinz Marbaise
>            Priority: Minor
>             Fix For: 3.x / Backlog
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> At the moment all parts of {{OptionBuilder...}} are marked deprecated in 
> {{CLIManager}}. They should be migrated to:
> {code:java}
> Option.builder( HELP ).longOpt( "help" ).desc( "Display help information" 
> ).build()
> {code}
> Ensure that the following command succeeds: {{mvn -X -D x=1 -D y=2 test}} ( 
> watch out for the space after {{-D}} )



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to