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