Indeed. I didn’t write it. On Fri, Aug 19, 2022 at 4:45 AM Delany <[email protected]> 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 publish these properties in a bom? > > Regards, > Delany > > On Thu, 18 Aug 2022 at 20:56, Laird Nelson <[email protected]> wrote: > > > On Wed, Aug 17, 2022 at 11:33 PM Herve Boutemy <[email protected]> > > 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 > > >
