Uploaded image for project: 'Maven Shared Components'
  1. Maven Shared Components
  2. MSHARED-1382

Maven-invoker: support '--no-snapshot-updates'

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • maven-invoker-3.2.0
    • maven-invoker-3.3.0
    • maven-invoker
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              sjaranowski Slawomir Jaranowski
              leokom Leonid Rozenblyum
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: