Skip to content

MicroProfile 4.1

Compare
Choose a tag to compare
@ederks85 ederks85 released this 20 Jul 16:57

Spec PDF | Spec HTML

In this release, the requirement that CCR's need to be certified with Java SE 8 has been lifted to include any version above Java SE 8.

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

To get started with MicroProfile 4.1, 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.1</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.1</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>