[ https://issues.apache.org/jira/browse/MSHARED-1128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17600971#comment-17600971 ]
Michael Osipov edited comment on MSHARED-1128 at 9/6/22 8:33 PM: ----------------------------------------------------------------- Fantastic, but has one issue. The name {{#addCliOption()}} is now wrong since everything can be provided. Basically this needs to be {{#addCliArg()}} and {{{}#addCliArgs(){}}}. was (Author: michael-o): Fantastic, but has one issue. The name {{#addCliOption()}} is now wrong since everything can be provided. Basically this needs to be {{#addCliArg()}} and {{{}#AddCliArgs(){}}}. > Deprecate all executeGoal(s) methods > ------------------------------------ > > Key: MSHARED-1128 > URL: https://issues.apache.org/jira/browse/MSHARED-1128 > Project: Maven Shared Components > Issue Type: Improvement > Components: maven-verifier > Reporter: Slawomir Jaranowski > Priority: Major > Fix For: maven-verifier-2.0.0 > > > Methods {{executeGoal(s)}} take as argument Maven goal for executing test. > From command line executing perspective all of goals are next cli arguments. > So instead of: > {code} > verifier.executeGoal( "package" ); > {code} > we can use: > {code} > verifier.addCliOption( "package" ); > verifier.execute(); > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)