Skip to content

6.0-RC2

Pre-release
Pre-release
Compare
Choose a tag to compare
@Emily-Jiang Emily-Jiang released this 04 Nov 12:48

Spec PDF | Spec HTML

MicroProfile 6.0-RC2 aligns with Jakarta EE 10 Core Profile and replaces MicroProfile OpenTracing with MicroProfile Telemetry. This release continues the Jakarta EE 9.1 jakarta.* namespace alignment with Jakarta specifications introduced in MicroProfile 5.0.

Based on MicroProfile's time-boxed release process, this is a major release that includes the following updates:

To get started with MicroProfile 6.0-RC2, add the following dependency to your pom.xml to get the complete MicroProfile stack:

<dependency>
    <groupId>org.eclipse.microprofile</groupId>
    <artifactId>microprofile</artifactId>
    <version>6.0-RC2</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>6.0-RC2</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>