-
Notifications
You must be signed in to change notification settings - Fork 19
Description
Right now we can make Sisu "strict" (is strict in Maven 4) but in Maven 3 it is "not strict". This makes impossible following use case: assume a Maven extension that should work in both, Maven 3 and Maven 4.
Assume it has two components, one implementing Maven 3 API iface and one implementing Maven 4 API iface.
Use in Maven 3 is "ok", as it is not "strict", and due absence of Maven 4 API in Maven 3, loading of component would fail, and due non-strictness, it would be silently skipped as well. Good.
But in Maven 4, due strictness, ASSUMING Maven 3 iface is gone, it would explode.
Using words like "locally" (as opposed to "globally" that current implementation is), as we may want to make it strict for Maven core, but (we reuse same container) lax the container when we look for extension components?