Re: Side effects of import scope?

2022-08-26 Thread Hervé BOUTEMY
t; > > > the BOM is written using a property, for simplicity for example of > > defining a version that is used by many dependencies > > > > but that's to ease BOM writer maintenance: it does not publish anything to > > BOM consumer > > > > Regards, > >

Re: Side effects of import scope?

2022-08-22 Thread Delany
nsumer > > Regards, > > Hervé > > - Mail original - > De: "Delany" > À: "Maven Users List" > Envoyé: Vendredi 19 Août 2022 12:43:55 > Objet: Re: Side effects of import scope? > > >> I don't see how any property from the imported

Re: Side effects of import scope?

2022-08-22 Thread herve . boutemy
h anything to BOM consumer Regards, Hervé - Mail original - De: "Delany" À: "Maven Users List" Envoyé: Vendredi 19 Août 2022 12:43:55 Objet: Re: Side effects of import scope? >> I don't see how any property from the imported model could affect the >&

Re: Side effects of import scope?

2022-08-19 Thread Laird Nelson
Indeed. I didn’t write it. On Fri, Aug 19, 2022 at 4:45 AM Delany wrote: > >> I don't see how any property from the imported model could affect the > >> importing model > >> > > > OK, good to know. > > It also can't be overwritten from the importing model, so what purpose does > it serve to

Re: Side effects of import scope?

2022-08-19 Thread Delany
>> I don't see how any property from the imported model could affect the >> importing model >> > OK, good to know. It also can't be overwritten from the importing model, so what purpose does it serve to publish these properties in a bom? Regards, Delany On Thu, 18 Aug 2022 at 20:56, Laird

Re: Side effects of import scope?

2022-08-18 Thread Laird Nelson
On Wed, Aug 17, 2022 at 11:33 PM Herve Boutemy wrote: > I see one clarification to add to your "by value" explanation: what is > imported is the dependencyManagement content from the *effective* imported > model, ie with its interpolation (properties substitution) already done > That's

Re: Side effects of import scope?

2022-08-18 Thread Herve Boutemy
I see one clarification to add to your "by value" explanation: what is imported is the dependencyManagement content from the *effective* imported model, ie with its interpolation (properties substitution) already done I don't see how any property from the imported model could affect the

Side effects of import scope?

2022-08-17 Thread Laird Nelson
I have been using Maven for decades. I have a question about import scope. My mental model of this feature has always been the following: Suppose my project has: *pom* *import* My understanding is that the imported pom's element is effectively "copied