Maven 2 & 3
  1. Maven 2 & 3
  2. MNG-233

ability to clean up local repository

    Details

    • Type: New Feature New Feature
    • Status: Closed Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      it's probably not too heavy to touch some metadata (or update a single file in the repository) for each dependency that is used (not downloaded, but actually used). It would only be needed once per dep per session.

      With that information, a tool could easily remove files from the local repository not used in X days so they can be downloaded again later.

        Issue Links

          Activity

          Vincent Massol made changes -
          Field Original Value New Value
          Workflow jira [ 32036 ] Maven [ 37192 ]
          Hide
          Thinkboy added a comment -

          I believe that we need a goal to remove jar from local
          repository and also for Maven-Proxy repository

          yes, for SNAPSHOT , I do find that some release plugins that are having
          dependencies on SNAPSHOT version , and very often that SNAPSHOT may
          be broken or no longer exist!

          Show
          Thinkboy added a comment - I believe that we need a goal to remove jar from local repository and also for Maven-Proxy repository yes, for SNAPSHOT , I do find that some release plugins that are having dependencies on SNAPSHOT version , and very often that SNAPSHOT may be broken or no longer exist!
          Hide
          Dan Tran added a comment -

          + 1 for internal central repository cleanup

          I am required to do daily release. During development cycle, i need to clean my repository
          to get some diskspace back.

          Show
          Dan Tran added a comment - + 1 for internal central repository cleanup I am required to do daily release. During development cycle, i need to clean my repository to get some diskspace back.
          Vincent Massol made changes -
          Workflow Maven [ 37192 ] Maven New [ 48243 ]
          John Casey made changes -
          Fix Version/s 2.2 [ 12081 ]
          Hide
          Des Lownds added a comment -

          + 1 for internal central repository cleanup

          corrupted poms causing major headache.

          Show
          Des Lownds added a comment - + 1 for internal central repository cleanup corrupted poms causing major headache.
          Hide
          Brian Fox added a comment -

          Should be solved by this:http://maven.apache.org/plugins/maven-dependency-plugin/purge-local-repository-mojo.html

          The plugin is just waiting for deploy, should be done tomorrow.

          Show
          Brian Fox added a comment - Should be solved by this: http://maven.apache.org/plugins/maven-dependency-plugin/purge-local-repository-mojo.html The plugin is just waiting for deploy, should be done tomorrow.
          Jason van Zyl made changes -
          Fix Version/s 2.2 [ 12081 ]
          Fix Version/s 2.2.x [ 13145 ]
          Hide
          Jason van Zyl added a comment -

          Mojo has been created.

          Show
          Jason van Zyl added a comment - Mojo has been created.
          Jason van Zyl made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Brett Porter made changes -
          Fix Version/s 2.2.x [ 13145 ]
          Baptiste MATHUS made changes -
          Link This issue relates to CONTINUUM-1693 [ CONTINUUM-1693 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Brett Porter
            • Votes:
              10 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: