Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #10516 > unrolled thread

Re: Bug#896708: ITP: maven-cache-cleanup -- Utility to purge timestamped snapshots from Maven repositories

Started bySteinar Bang <sb@dod.no>
First post2018-05-19 09:00 +0200
Last post2018-05-19 09:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.debian.maint.java

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Bug#896708: ITP: maven-cache-cleanup -- Utility to purge timestamped snapshots from Maven repositories Steinar Bang <sb@dod.no> - 2018-05-19 09:00 +0200

#10516 — Re: Bug#896708: ITP: maven-cache-cleanup -- Utility to purge timestamped snapshots from Maven repositories

FromSteinar Bang <sb@dod.no>
Date2018-05-19 09:00 +0200
SubjectRe: Bug#896708: ITP: maven-cache-cleanup -- Utility to purge timestamped snapshots from Maven repositories
Message-ID<vR40p-4EE-1@gated-at.bofh.it>
>>>>> Emmanuel Bourg <ebourg@apache.org>:

> Package: wnpp
> Severity: wishlist
> Owner: Emmanuel Bourg <ebourg@apache.org>

> * Package name    : maven-cache-cleanup
>   Version         : 1.0.4
>   Upstream Author : Yuri Nadestin
> * URL             : https://github.com/nadestin/tools
> * License         : Apache-2.0
>   Programming Lang: Java
>   Description     : Utility to purge timestamped snapshots from Maven repositories

> Maven 3 dropped support for non-unique snapshot versions, which had the
> side effect of filling up Maven caches on developer machines and on CI
> build hosts. The Maven Cache Cleanup utility scans a specified Maven cache
> directory for snapshot versions and deletes all but the latest version of
> the timestamped artifacts.

Hm... just a side observation: I ended up writing something similar
myself, a very simple one:
 https://github.com/steinarb/maven-repository-snapshot-pruner

I use it to prune snapshots from my own maven repository.

My entry level VPS (Virtual Private Server) in the cloud, wasn't big
enough to run nexus in addition to its other stuff. So I set up a simple
maven repository, using ftp to deploy to a directory structure, with
nginx serving up the same structure in HTTP.

And since what I'm mainly deploying to this maven repository is
snapshots, and what I want is just a single snapshot, I wrote the above
utility. 

[toc] | [standalone]


Back to top | Article view | linux.debian.maint.java


csiph-web