I also did that for now, but it seems a bit like a workaround and really
unneeded for the dependencies we get from elsewhere (like maven central)

2010/3/2 David Hoffer <[email protected]>

> Okay, I don't use Nexus or Hudson so I don't know how those work.  Do you
> need timestamped snapshots?  We haven't found timestamped snapshots to be
> needed so the CI build just overwrites the one and only snapshot.
>
> Btw, on our CI systems we purge the entire local repo once per day, this
> helps clean things out as sometimes we refactor projects and rename
> group/artifact ids for snapshots.
>
> -Dave
>
> On Tue, Mar 2, 2010 at 6:28 AM, Wim Deblauwe <[email protected]>
> wrote:
>
> > To avoid filling up the disk.
> >
> > I have a virtualized ubuntu linux which has been given 50 GB and runs
> Nexus
> > and Hudson. When Hudson builds using maven, it copies a lot of the nexus
> to
> > the local repo. The local repo has timestamped versions of my snapshots,
> so
> > I want to avoid that those snapshots fill up my harddisk.
> >
> > regards,
> >
> > Wim
> >
> > 2010/3/2 David Hoffer <[email protected]>
> >
> > > Just wondering, why do you want to do this?
> > >
> > > -Dave
> > >
> > > On Tue, Mar 2, 2010 at 5:29 AM, Wim Deblauwe <[email protected]>
> > > wrote:
> > >
> > > > Indeed. I would have expected the goal to remove all previously
> > generated
> > > > artifacts of the artifact I am running this command on. I tried the
> > > > 'artifactId' mode, but it did not remove any previously created jar
> > from
> > > my
> > > > local repo.
> > > >
> > > > 2010/3/1 Jesse Farinacci <[email protected]>
> > > >
> > > > > Hi Wim,
> > > > >
> > > > > On Mon, Mar 1, 2010 at 1:41 PM, Wim Deblauwe <
> [email protected]
> > >
> > > > > wrote:
> > > > > > what is the best way if I want to erase all the artifacts from my
> > > local
> > > > > repo
> > > > > > of the thing i am about to build using Maven? I tried the
> > dependency
> > > > > plugin,
> > > > > > but that only seems to remove the _dependencies_ of my artifact,
> > not
> > > > the
> > > > > > current artifact.
> > > > >
> > > > > Do you mean you tried
> maven-dependency-plugin:purge-local-repository
> > > > > and it didn't do as you expect?
> > > > >
> > > > > -Jesse
> > > > >
> > > > > --
> > > > > There are 10 types of people in this world, those
> > > > > that can read binary and those that can not.
> > > > >
> > > > >
> ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: [email protected]
> > > > > For additional commands, e-mail: [email protected]
> > > > >
> > > > >
> > > >
> > >
> >
>

Reply via email to