pom content for TomEE 8.0.16 and TomEE 9.1.3

COURTAULT Francois <[email protected]> Fri, 31 May 2024 09:11:53 +0000
Newsgroups gmane.comp.java.openejb.user
Message-ID <MR1P264MB2355B4430A4114C29BE14B139DFC2@MR1P264MB2355.FRAP264.PROD.OUTLOOK.COM>
THALES GROUP LIMITED DISTRIBUTION to email recipients

Hello everyone,

For one TomEE 8.0.16 application, I use the JWTAuthContextInfo class.
So in my pom I have:

 <dependency>
    <groupId>org.apache.tomee</groupId>
    <artifactId>mp-jwt</artifactId>
    <version>7.1.4</version>
    <scope>provided</scope>
</dependency>
and I was able to compile my application
If I change the version to 8.0.x even 9.1.3, it doesn't compile.
Any idea ? what is the update I have to do ?

If I switch to TomEE 9.1.3, I should use smallrye then, right?
import io.smallrye.jwt.auth.principal.JWTAuthContextInfo
What dependency I have to have in my pom?

Thanks in advance for your support.

Best Regards.