Nevermind. The issue was related to a transient dependency that was including an version of the artifact that was not Jakarta compliant which was causing the issue.