Details
Description
At the moment all parts of OptionBuilder... are marked deprecated in CLIManager. They should be migrated to:
Option.builder( HELP ).longOpt( "help" ).desc( "Display help information" ).build()
Ensure that the following command succeeds: mvn -X -D x=1 -D y=2 test ( watch out for the space after -D )
For now, leave GnuParser. Despite the upgrade advice in the GnuParser Javadoc ("since 1.3, use the DefaultParser instead"), it behaves differently (see this Stack Overflow answer for possible reasons).
Attachments
Issue Links
- causes
-
MINVOKER-247 NPE in InstallMojo
- Closed
- relates to
-
MNG-7217 Completely update CLI handling according to Commons CLI 1.5 documentation
- Closed
- links to