when every your running out of disk space you can also use this plugin http://www.mojohaus.org/build-helper-maven-plugin/remove-project-artifact-mojo.html so when you do a clean or a install, it will also remove that project from your local repo.
e.g. if your building a JEE project or other war project, then it will mean you only have the currently build version in your local repo. which is probably what you actually need. as your build server should be publishing released versions and putting them into a central server. so if you need a released version then you can simply download it. On 1 September 2017 at 04:31, mingleizhang <zml13856086...@163.com> wrote: > Hello friends here. > > > I would like ask a question ,it probably looks silly, but I still want > to know. As the subject said, when time do we need to delete .m2/repository > files ? Does anyone improve my mind ? Thank you very much! > > > Thanks > Rice. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org