Details
-
Sub-task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
9.0.0-M7
-
None
-
None
Description
Currently, TomEE 9.x only scans for "META-
INF/services/jakarta.enterprise.inject.spi.Extension".
This breaks, if 3rd party artifacts do not correctly relocate their
"META-INF/services" files and still deliver
"javax.enterprise.inject.spi.Extension". While we can fix that via PRs
in OSS projects, it might be a problem in the wild.
To compensate this for our users, i.e.
- Additionally scan for "javax.enterprise.inject.spi.Extension"
- If we find something, log a warning/info that this is not really
expected and load the extension instead of failing with an
unsatisfied dependency error later.
Note, that we also rewrite javax to jakarta in XML files on the fly, so
it would probably be consistent to also scan for javax.enterprise.injec
t.spi.Extension" but I would like to hear some opinions on i