Guillaume Nodet opened MNG-7955 and commented
We need some simple configuration to allow plugins to indicate which packages / artifacts they need to be provided. This could solve the problems with org.slf4j package.
I think the defaults could be the following packages:
- org.apache.maven.api,org.apache.maven.api.*
- org.slf4j
- jarkata.inject
See https://github.com/apache/maven/pull/1336 which is related.
Issue Links:
-
MNG-7921 Allow plugins to control classpath extensions
-
MNG-7954 Provide a cleaner DI api
-
MNG-8176 Restrict class loaders for Maven 4 plugins