MicroProfile 5.0
Note that in this release, we are aligning every specification with Jakarta EE 9.1. This effectively creates an incompatible change due to the namespace change from javax to jakarta in the code.
Read more via release blog: MicroProfile 5.0 Release with Updated Jakarta EE 9.1 Dependencies
Based on MicroProfile's time-boxed release process, this is a major release that includes the following updates:
- MicroProfile Config 3.0
- MicroProfile Health 4.0
- MicroProfile Fault Tolerance 4.0
- MicroProfile JWT RBAC 2.0
- MicroProfile Metrics 4.0
- MicroProfile OpenAPI 3.0
- MicroProfile OpenTracing 3.0
- MicroProfile Rest Client 3.0
To get started with MicroProfile 5.0, add the following dependency to your pom.xml to get the complete MicroProfile stack:
<dependency>
<groupId>org.eclipse.microprofile</groupId>
<artifactId>microprofile</artifactId>
<version>5.0</version>
<type>pom</type>
<scope>provided</scope>
</dependency>
Or, to import the transitive dependencies for selective use (ala BOM), add the following (using relevant dependencies) to your pom.xml:
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.eclipse.microprofile</groupId>
<artifactId>microprofile</artifactId>
<version>5.0</version>
<scope>import</scope>
<type>pom</type>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.eclipse.microprofile.health</groupId>
<artifactId>microprofile-health-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.eclipse.microprofile.metrics</groupId>
<artifactId>microprofile-metrics-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>jakarta.ws.rs</groupId>
<artifactId>jakarta.ws.rs-api</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>