camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zoran Regvart <>
Subject Re: Purging local repository in install phase
Date Thu, 23 Feb 2017 09:01:33 GMT
Hi Claus,
tanks for the reply, this is exactly why I'm asking, I don't want to
break anyone's workflow,

On Thu, Feb 23, 2017 at 9:18 AM, Claus Ibsen <> wrote:
> I do like that I can branch to an older branch and just build a module
> like camel-hazelcast and it downloads the other SNAPSHOTS from maven,
> such as camel-core etc. Otherwise I would need to rebuild the entire
> source tree.

yes, you don't have to rebuild the dependant modules at the cost of
disk space as each -SNAPSHOT is another artifact the local repository
(after just few weeks, 1.1GB on my machine)

> Isn't it possible to run some command from the command line using
> maven to delete/clean your maven repo?

sure, you can run `mvn build-helper:remove-project-artifact` from the
source tree root (besides the obvious `rm -rf ...`

> Or maybe have some maven profile so this is only run if you do -P
> cleanrepo or something

I think that would be the best approach, having it on by default could
be to invasive, created CAMEL-10884[1]


Zoran Regvart

View raw message