[prev in list] [next in list] [prev in thread] [next in thread] 

List:       maven-user
Subject:    Re: Maven enforcer plugin regarding child module's groupId
From:       Matt Benson <mbenson () apache ! org>
Date:       2021-09-01 0:58:11
Message-ID: CAE9L6G1Qnx_CXgadDzy3q2v_wFkMPcraRZCaAQduz=V=80+JVQ () mail ! gmail ! com
[Download RAW message or body]


At that rate, they can also disable the execution of said enforcer rule.

Matt

On Tue, Aug 31, 2021, 10:31 AM David Hoffer <dhoffer6@gmail.com> wrote:

> They can delete/change/not do that.   I'd like to put the rule in a parent
> POM that enforces in a way that can't easily be removed.
>
> -Dave
>
> On Tue, Aug 31, 2021 at 8:41 AM Delany <delany.middleton@gmail.com> wrote:
>
> > 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 <dhoffer6@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 <mbenson@apache.org>
> wrote:
> > >
> > > > On Tue, Aug 31, 2021, 3:28 AM Delany <delany.middleton@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 <dhoffer6@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
> > > > > >
> > > > >
> > > >
> > >
> >
>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic