This is an automated email from the ASF dual-hosted git repository.
gnodet pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven.git
The following commit(s) were added to refs/heads/master by this push:
new 09ea5770bf Clarify forced release update checks (#13849)
09ea5770bf is described below
commit 09ea5770bf67033c1487762c5fc652173c1e9178
Author: manjit singh <[email protected]>
AuthorDate: Wed Nov 11 00:43:57 2026 +0530
Clarify forced release update checks (#13849)
Co-authored-by: Guillaume Nodet <[email protected]>
---
.../src/main/java/org/apache/maven/api/cli/mvn/MavenOptions.java | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git
a/api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvn/MavenOptions.java
b/api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvn/MavenOptions.java
index 3134d46868..724e091408 100644
---
a/api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvn/MavenOptions.java
+++
b/api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvn/MavenOptions.java
@@ -55,9 +55,10 @@ public interface MavenOptions extends Options {
Optional<Boolean> nonRecursive();
/**
- * Indicates whether Maven should force a check for updated snapshots on
remote repositories.
+ * Indicates whether Maven should force a check for missing releases and
updated snapshots on remote
+ * repositories. Release artifacts already present in the local repository
are not re-downloaded.
*
- * @return an {@link Optional} containing true if snapshot updates should
be forced, false if not, or empty if not specified
+ * @return an {@link Optional} containing true if update checks should be
forced, false if not, or empty if not specified
*/
@Nonnull
Optional<Boolean> updateSnapshots();