Hi, As a note on best practice from a system admin's point of view: It is not a good idea to program against a library that is included in an application server, but rather against the API whenever possible, IEE in the case of TomEE. This way you stay flexible and never have to deal with these problems. I cannot decide whether this is possible in your case. I just wanted to put it here because I know the problem well from my own experience and hate it.
Greetings Martin -----Ursprüngliche Nachricht----- Von: COURTAULT Francois <francois.courta...@thalesgroup.com.INVALID> Gesendet: Montag, 3. Juni 2024 11:31 An: users@tomee.apache.org Betreff: RE: pom content for TomEE 8.0.16 and TomEE 9.1.3 THALES GROUP LIMITED DISTRIBUTION to email recipients Hello Richard, So if the artifactId is still mp-jwt what should I use for groupId ? Looking at https://search.maven.org/artifact/org.apache.tomee/mp-jwt * I am able to see as dependency <dependency> <groupId>org.apache.tomee</groupId> <artifactId>mp-jwt</artifactId> <version>8.0.16</version> </dependency> But it doesn't work if I have this in my pom.xml Best Regards. -----Original Message----- From: Richard Zowalla <r...@apache.org> Sent: lundi 3 juin 2024 10:47 To: users@tomee.apache.org Subject: Re: pom content for TomEE 8.0.16 and TomEE 9.1.3 -> https://github.com/apache/tomee/commit/ccfc34096e6f0b8ca1c5d1c3f8dc4b -> 7dc8c9183e It was renamed. TomEE 9+ uses our own MP compliant JWT implementation, which still resides in mp-jwt. > Am 31.05.2024 um 11:11 schrieb COURTAULT Francois > <francois.courta...@thalesgroup.com.INVALID>: > > 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. > > >