You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Leonid Rozenblyum (Jira)" <ji...@apache.org> on 2024/04/19 13:23:00 UTC
[jira] [Created] (MSHARED-1382) Maven-invoker: support '--no-snapshot-updates'
Leonid Rozenblyum created MSHARED-1382:
------------------------------------------
Summary: Maven-invoker: support '--no-snapshot-updates'
Key: MSHARED-1382
URL: https://issues.apache.org/jira/browse/MSHARED-1382
Project: Maven Shared Components
Issue Type: Improvement
Components: maven-invoker
Affects Versions: maven-invoker-3.2.0
Reporter: Leonid Rozenblyum
Let's add support for `--no-snapshot-updates` in `org.apache.maven.shared.invoker.InvocationRequest`
Currently `InvocationRequest` supports just the `-U` mvn option which is not enough: it's possible to force the snapshots update or keep default maven policy on this.
But it's not possible to prevent snapshots updates which is highly desired under some circumstances (e.g. for CI reproducibility).
NOTE: I may contribute a PR.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)