ctubbsii commented on pull request #1668: URL: https://github.com/apache/accumulo/pull/1668#issuecomment-667416792
FWIW, the problems that can happen with `install` are basically: 1. Filling up your hard drive with unneeded copies of SNAPSHOT builds 2. Misconfigured dependencies in your project could be unintentionally resolved from your local repository when they fail to resolve from your multi-module reactor build or from your remote repository, where you expect them to exist, but don't. This will result in builds that only work for you, but not for anybody else. 3. Confusing code breakage that can be hard to troubleshoot, because code is behaving the way you *used* to have it, but you *fixed that bug already*, and your Maven build is resolving from your local repository instead of the fixed version you intend on your class path. I'm sure there are others, but these are the ones I've seen most often. Sometimes you need to, though. For example, if you need to build a dependency for the purposes of testing it in a separate Maven project's build. When that happens for me, I try to purge these artifacts from my local repository once I'm done, so they don't pollute future builds. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
