Fork me on GitHub

Apache Shiro Logo Simple. Java. Security. Apache Software Foundation Event Banner

Published by  on the

Jakarta EE 11 no longer has an umbrella JAR. Not smaller. Gone.

Many Shiro users build Jakarta EE applications, and almost all of them start with the same dependency:

<dependency>
    <groupId>jakarta.platform</groupId>
    <artifactId>jakarta.jakartaee-api</artifactId>
    <version>11.0.0</version>
    <scope>provided</scope>
</dependency>

In Jakarta EE 10, this pulled in a JAR with a copy of every API class in the platform, plus every specification JAR as a transitive dependency. Each class was on the classpath twice, which caused JPMS split packages, OSGi deployment issues and confusing duplicate classes.

In Jakarta EE 11, jakarta.jakartaee-api is just a POM that lists the specification JARs:

And the best part: you do not need to change your build.

Read the rest of the story, including why Maven Central still has a jakarta.jakartaee-api JAR with no classes in it, on foojay: Jakarta EE 11 No Longer Has an Umbrella JAR.