At the moment all parts of OptionBuilder... are marked deprecated in CLIManager. They should be migrated to:
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).