Seems like your script could purge just your groupId(s) if you want.
(That may be what our CI guy does...like you say...no reason to purge
things guaranteed not to change.)

-Dave

On Tue, Mar 2, 2010 at 12:12 PM, Wim Deblauwe <wim.debla...@gmail.com> wrote:
> 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 <dhoff...@gmail.com>
>
>> 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 <wim.debla...@gmail.com>
>> 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 <dhoff...@gmail.com>
>> >
>> > > Just wondering, why do you want to do this?
>> > >
>> > > -Dave
>> > >
>> > > On Tue, Mar 2, 2010 at 5:29 AM, Wim Deblauwe <wim.debla...@gmail.com>
>> > > 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 <jie...@gmail.com>
>> > > >
>> > > > > Hi Wim,
>> > > > >
>> > > > > On Mon, Mar 1, 2010 at 1:41 PM, Wim Deblauwe <
>> wim.debla...@gmail.com
>> > >
>> > > > > 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: users-unsubscr...@maven.apache.org
>> > > > > For additional commands, e-mail: users-h...@maven.apache.org
>> > > > >
>> > > > >
>> > > >
>> > >
>> >
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to