Instead of policing deviations with a rule, why not make this possible at
the outset?

<groupId>${project.parent.groupId}.${project.parent.artifactId}</groupId>

Delany


On Tue, 31 Aug 2021 at 16:29, David Hoffer <dhoff...@gmail.com> wrote:

> I'd love to see that added to the included rules in the enforcer plugin.
>
> -Dave
>
> On Tue, Aug 31, 2021 at 6:53 AM Matt Benson <mben...@apache.org> wrote:
>
> > On Tue, Aug 31, 2021, 3:28 AM Delany <delany.middle...@gmail.com> wrote:
> >
> > > Good question. There seems no way to do this dynamically in Maven 3.x
> > > Delany
> > >
> > > On Mon, 30 Aug 2021 at 20:45, David Hoffer <dhoff...@gmail.com> wrote:
> > >
> > > > How to enforce that child modules append to the parent groupId per
> the
> > > > Maven
> > > > Guide to Naming Conventions
> > > > <http://maven.apache.org/guides/mini/guide-naming-conventions.html>
> ?
> > > >
> > >
> >
> > It would seem that writing a custom enforcer rule to do this would be
> > trivial.
> >
> > Matt
> >
> >
> > > -Dave
> > > >
> > >
> >
>

Reply via email to