Sure, that’s clearly not what I understood when you specifically mentioned
« 4.0 poms ».  Since we have no correlation between the Maven version and
the model version , I assumed the later when talking about poms.

------------------------
Guillaume Nodet



Le lun. 17 mars 2025 à 18:03, Elliotte Rusty Harold <elh...@ibiblio.org> a
écrit :

> On Mon, Mar 17, 2025 at 12:02 PM Guillaume Nodet <gno...@apache.org>
> wrote:
>
> >
> > We also need to disallowing version 4.0 poms without a proper namespace,
> > >
> >
> > We just can't.  Nor can we fix everything that's on Maven central.  And
> > that's the reason why we can't.
>
> Yes, we absolutely can do that. We use a new modelVersion 4.1.0 for
> Maven 4.0. (Confusingly modelVersion 4.0.0 is for Maven 3 but c'est la
> vie.) We can make Maven reject any poms that use modelVersion 4.1.0
> and do not have the proper namespace. This will not reject any
> existing poms which use earlier modelVersions.
>
> --
> Elliotte Rusty Harold
> elh...@ibiblio.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
>
>

Reply via email to