Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #39302
| From | Andreas Leitgeb <avl@logic.at> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | maven and its downloads |
| Date | 2020-02-26 09:16 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <slrnr5cdr0.897.avl@logic.at> (permalink) |
I've got a single maven project on a particular user at a machine.
After some development stages (with often changed dependencies),
I made a full clean+build (took only a few minutes), then used
"find ~/.m2/repository -amin +60 -exec rm {} +"
(remove everything not used in the last 60 minutes)
On next build afterwards, it again downloaded a few packages.
Apparently, it downloads packages that it doesn't ever use.
Majority of them is in org.apache.maven group.
Given that the local repo of that user is used only for that
project, is there a way to prune it of no-longer necessary
stuff, while avoiding to prune stuff that will be re-downloaded?
Back to comp.lang.java.programmer | Previous | Next — Next in thread | Find similar | Unroll thread
maven and its downloads Andreas Leitgeb <avl@logic.at> - 2020-02-26 09:16 +0000
Re: maven and its downloads Eric Douglas <e.d.programmer@gmail.com> - 2020-02-26 07:51 -0800
Re: maven and its downloads Andreas Leitgeb <avl@logic.at> - 2020-02-26 16:57 +0000
Re: maven and its downloads Joerg Meier <joergmmeier@arcor.de> - 2020-02-27 09:35 +0100
Re: maven and its downloads Andreas Leitgeb <avl@logic.at> - 2020-02-27 11:30 +0000
Re: maven and its downloads Andreas Leitgeb <avl@logic.at> - 2020-02-27 11:59 +0000
Re: maven and its downloads Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2020-02-27 18:59 +0100
Re: maven and its downloads Eric Douglas <e.d.programmer@gmail.com> - 2020-02-27 05:50 -0800
csiph-web