>> 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 Nelson <ljnel...@gmail.com> wrote:

> On Wed, Aug 17, 2022 at 11:33 PM Herve Boutemy <hbout...@apache.org>
> 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 helpful; thanks.
>
>
> > I don't see how any property from the imported model could affect the
> > importing model
> >
>
> OK, good to know.
>
>
> > A few reference to source code:
> > - the importer:
> >
> >
> https://maven.apache.org/ref/3.8.6/maven-model-builder/xref/org/apache/maven/model/composition/DefaultDependencyManagementImporter.html
> > - and the effective model resolution that happens before:
> >
> >
> https://maven.apache.org/ref/3.8.6/maven-model-builder/xref/org/apache/maven/model/building/DefaultModelBuilder.html#L1236
> >
> > Hope this helps
> >
>
> Very much, thanks.
>
> L
>

Reply via email to