maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Baptiste MATHUS ...@batmat.net>
Subject Re: Keep local repositories at managable size
Date Thu, 16 Sep 2010 13:54:41 GMT
Hi,

This is almost more a hudson/ci problem than a maven one.
Well, in a CI server, you should just wipe out the local repository on a
regular basis.

See
http://www.sonatype.com/people/2009/01/maven-continuous-integration-best-practices/
 and
http://batmat.net/blog/post/2009/10/09/[Hudson]-How-to-set-a-private-maven-repository-by-job-and-easily-be-able-to-delete-them
for
more hints about this subject.

Cheers

2010/9/16 Lóránt Pintér <lorant.pinter@gmail.com>

> Hi,
>
> I'm using Hudson to do nightly builds of the product we are working
> on. It deploys to Nexus, and it works beautifully. Every night we
> create like 800 MB of artifacts, and Nexus keeps the last 3 of each
> SNAPSHOT, so it uses a managable amount of disk space to do this.
> However, on the Hudson slaves, the SNAPSHOTs just accumulate and after
> some time occupy all the disk space available.
>
> Is there a way to deploy artifacts without using unique names in the
> local repo? Or maybe, is there a plugin I can use to remove the
> artifacts created previously by the build from the local repo? I found
> the purge-local-repository goal of m-dependency-p, but IIUC, it does
> the exact opposite to what I want to do.
>
> Thanks,
> Lóránt
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
Baptiste <Batmat> MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message