Hi all,

while working on fixing the Deltaspike examples on EE9 / master
I encountered some 

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.

I wonder, if we should 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 it.

Gruß
Richard

Reply via email to