Re: [DISCUSS] Fix for #12646 — moving project-loca l-repo out of target/

Guillaume Nodet <[email protected]>
Newsgroups gmane.comp.jakarta.turbine.maven.devel
Message-ID <CAA66TpoefcQdAumxdhBBNxbWkZENLi=LGYG9d_knWjtR0w=kLA@mail.gmail.com>
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]
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.