MicroProfile 4.0-M1
Pre-releaseThe Eclipse MicroProfile 4.0-M1 release is now available! MicroProfile 4.0-M1 is based on Jakarta EE 8, the first MicroProfile release to be based on Jakarta EE (replacing the role of Java EE). Although Jakarta EE 8 is API backward compatible with Java EE 8, Jakarta EE replaces Java EE dependencies with Jakarta EE dependencies for all MicroProfile specifications.
Based on MicroProfile's time-boxed release process, this is an major release that includes the following updates:
- MicroProfile Config 2.0-M1
- MicroProfile Fault Tolerance 3.0-RC1
- MicroProfile Health 3.0-RC3
- MicroProfile JWT Authentication 1.2-RC1
- MicroProfile Metrics 3.0-RC1
- MicroProfile OpenAPI 2.0-RC2
- MicroProfile OpenTracing 2.0-RC1
- MicroProfile Rest Client 2.0-RC2
MicroProfile 4.0-M1 also utilizes the following specifications:
- Jakarta Contexts and Dependency Injection 2.0
- Jakarta Annotations 1.3
- Jakarta RESTful Web Services 2.1
- Jakarta JSON Binding 1.0
- Jakarta JSON Processing 1.1
To get started with MicroProfile 4.0-M1, add the following dependency to your pom.xml to get the complete MicroProfile stack:
<dependency>
<groupId>org.eclipse.microprofile</groupId>
<artifactId>microprofile</artifactId>
<version>4.0-M1</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>4.0-M1</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>
NOTE: Older releases of MicroProfile (1.3 and before) are located in the microprofile-bom repository.