Uploaded image for project: 'Maven Dependency Plugin'
  1. Maven Dependency Plugin
  2. MDEP-331

Add to purge-local-repository goal ability to clean only snapshots

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3
    • 2.4
    • purge-local-repository
    • None
    • win32,unix
    • Patch

    Description

      Hi,

      In order to build a pipelined build where the downstream builds use the upstream artifacts we need to clean the SNAPSHOT versions (the downstream depends on) from the local repository and always download them from the internal Maven repository.

      To achieve this it would be very useful to have possibility to tell purge-local-repositiry goal to clean only the SNAPSHOT dependencies, something like snapshotsOnly parameter.

      A patch with the fix we use locally is attached.

      Thanks,
      Hrabur

      Attachments

        1. snapshots-only.patch
          3 kB
          Hrabur Trndafilov

        Activity

          People

            olamy Olivier Lamy
            hrabur Hrabur Trndafilov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: