Maven 2 & 3

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

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.
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.
Hide
Jason van Zyl added a comment -

Mojo has been created.

Show
Jason van Zyl added a comment - Mojo has been created.

People

Vote (10)
Watch (4)

Dates

  • Created:
    Updated:
    Resolved: