Am 09/14/16 um 14:17 schrieb Christian Schulte:
> Am 09/14/16 um 13:50 schrieb Stephane Nicoll:
>> Well, first of all I have no idea what the following means:
>>
>> rearrange the causing imports in the inheritance hierarchy to apply
>> standard override logic based on artifact coordinates.
> 
> Apply inheritance override logic to resolve the conflict. You may need
> to introduce various parent POMs to be able to do that. For example:
> Currently you have one POM importing e.g. 3 BOMs introducing conflicts.
> You can make the one POM a hierarchy of 3 POMs each importing just one
> of the 3 BOMs. That way a dependency imported into a child dependency
> management can override the same dependency imported into a parent
> dependency management. So your former single POM can be used the same
> way as before (your users need not change anything), but it is composed
> of various parents now transparently.


With current 3.4.0-SNAPSHOT master, you would need to set the model
version to 4.1.0 to make Maven support that. It will not get released
that way, I guess. Maybe instead of updating the model version you may
need to change all 'import' scopes to 'include'. Again, it's currently
not clear how this will get released and when.

Regards,
-- 
Christian


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to