I just committed a starting point for MNG-5406: "don't expose core's slf4j-api by default, add a plugin-descriptor option to expose"
this is a new field in plugin descriptor. I still don't know how to effectively use it in DefaultClassRealmManager.createPluginRealm() to avoid importing slf4j-api from parent: help appreciated. I still didn't create a Jira issue in plugin-tools to generate the field in plugin descriptor. What I know is that its configuration won't be done as an annotation in a goal/Mojo since it's a plugin-wide configuration, not at goal level. Regards, Hervé