The .mvn directory in the root project is already used to store maven configuration bits specific to the project, such as maven config , user properties, system properties, maven wrapper.
------------------------ Guillaume Nodet Le mar. 4 août 2026 à 15:04, Martin Desruisseaux via dev < [email protected]> a écrit : > Le 04/08/2026 à 14:56, Guillaume Nodet a écrit : > > > I like the .mvn/target/project-local-repo which solves the problem, > > and also provides a good location where plugins could move some > > temporary data files without being disturbed by the clean plugin. I'm > > thinking about the flatten plugin, the release plugin, and probably > > more. > > It is fine for me. But does it mean that `.mvn` will always have nothing > else than a `target` sub-directory? I understand that this is for > allowing `.mvn/target` to be ignored without the need to change > `.gitignore` configuration, but I find a little bit unfortunate to > consume a directory level only for that. If there is plan to add some > content other than `target` in the `.mvn` directory, then my remark can > be forgotten. > > Martin > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
