[ https://issues.apache.org/jira/browse/MNG-7653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17786578#comment-17786578 ]
ASF GitHub Bot commented on MNG-7653: ------------------------------------- CrazyHZM commented on code in PR #1301: URL: https://github.com/apache/maven/pull/1301#discussion_r1395083651 ########## maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java: ########## @@ -308,6 +312,17 @@ public CLIManager() { .optionalArg(true) .desc("Defines the color mode of the output. Supported are 'auto', 'always', 'never'.") .build()); + options.addOption(Option.builder() Review Comment: I suggest adding the abbreviated option `-canf`. ########## maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java: ########## @@ -308,6 +312,17 @@ public CLIManager() { .optionalArg(true) .desc("Defines the color mode of the output. Supported are 'auto', 'always', 'never'.") .build()); + options.addOption(Option.builder() + .longOpt(CACHE_ARTIFACT_NOT_FOUND) + .hasArg() + .desc( + "Defines caching behaviour for 'not found' artifacts. Supported values are 'true' (default), 'false'.") + .build()); + options.addOption(Option.builder() Review Comment: I suggest adding the abbreviated option `-sadp`. > Integrate resolver onSessionClose > --------------------------------- > > Key: MNG-7653 > URL: https://issues.apache.org/jira/browse/MNG-7653 > Project: Maven > Issue Type: Task > Components: Core > Reporter: Tamas Cservenak > Priority: Major > Fix For: 4.0.0, 4.0.0-alpha-9 > > > Make Maven Core register each session and notify resolver about session ends, > as needed by MRESOLVER-302 -- This message was sent by Atlassian Jira (v8.20.10#820010)