On 15 Sep 2017, at 20:29, Baptiste Mathus wrote: > So, yes, using dependency:purge-local-repository can help that use > case/issue, but again IMO it's not worth it: just wipe out everything and > redownload.
My release alias I use sets -Dmaven.repo.local=/tmp/maven-release-repository for every release, this way I ensure my dependencies/transitives/plugins or anything are all fresh, accessible, and not polluted by local builds. /tmp gets blown away anytime I restart - sure it makes release builds a little bit slower, but knowing everything required to build is still available, is a slight comfort ( esp. from some bad experiences of a corrupt local nexus server and having try and source some older artefact builds ). --- "The ease with which a change can be implemented has no relevance at all to whether it is the right change for the (Java) Platform for all time." — Mark Reinhold. Mark Derricutt http://www.theoryinpractice.net http://www.chaliceofblood.net http://plus.google.com/+MarkDerricutt http://twitter.com/talios http://facebook.com/mderricutt
signature.asc
Description: OpenPGP digital signature
