I just did a ticket+PR on maven shade plugin to add some properties related
The rational is that it is currently tricky to handle all frameworks using
an ordinal like key to solve conflictings entries when merging properties
As you can see in the PR, Apache OpenWebBeans but also Microprofile Config
use this kind of logic to cite a few.
The main implementation logic was just extracted from Apache OpenWebBeans,
only addition was a key configuration to be able to mark a properties as
being already merged manually and therefore to skip all other files - and
fail if two are already merged.