Re: [DISCUSS] Fix for #12646 — moving project-loca l-repo out of target/
Guillaume Nodet <[email protected]> Mon, 3 Aug 2026 17:57:52 +0200
| Newsgroups | gmane.comp.jakarta.turbine.maven.devel |
|---|---|
| Message-ID | <CAA66TprB4WSrWMHtNPRauwrbceGbfHgqne6wAuMOXiokPSon=w@mail.gmail.com> |
--0000000000007152d20658269ae1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable One thing I forgot to mention is that when an artifact is copied from a target dir to the project local repo, we try to use a hard link instead of a real copy. If we move it to ~/.m2, there are chances that they do not belong to the same mount and thus fallback to a real copy instead of a link= . Le lun. 3 ao=C3=BBt 2026 =C3=A0 17:22, Matthias B=C3=BCnger <mbuenger@apach= e.org> a =C3=A9crit : > > since .m2 already has a ton of living and even temp files (snapshots fo= r > ex > > which are still needed there quite often) then it doesn't hurt as much = as > > it can sound to do it there, in particular with split repo it will be > free > > and "by design" > > Are you sure that the Maven process always has deletion rights in .m2, > esp in container environments where .m2 is just injected from outsite to > avoid downloading stuff over (and over and therefore also shared across > multiple). So like having "r-x" on directory, but files have "rw-"? > > > --=20 ------------------------ Guillaume Nodet --0000000000007152d20658269ae1--