Setting `maven.repo.local` to a new scratch location causes *everything* to be re-downloaded and is best paired with
Nexus (there's also a
docker image with Nexus 2) or some Maven repository manager
that will cache Central. You may discover you were using snapshot or non-canonical versions that were cached or installed in your local ~/.m2/repository.
(`maven.repo.local` is $HOME/.m2/repository by default.)
Setting `tycho.localArtifacts` instructs Tycho to ignore any artifacts that are being built (e.g., are in your source tree) that are found in your `maven.repo.local`. Whenever you do a `mvn install`, all built artifacts are installed into your `maven.repo.local`.
So setting `tycho.localArtifacts` effectively provides a subset of the behaviour of setting `maven.repo.local` to a scratch location.
I usually put `tycho.localArtifacts=ignore` in a CI or releng profile. You don't want this setting by default as it's useful for rapidly iterating on changes to particular bundles without having to rebuild your entire project each time. That is: