Skip to content

MicroProfile 3.1 (use MicroProfile 3.2 instead)

Compare
Choose a tag to compare
@jclingan jclingan released this 13 Oct 05:46

The Eclipse MicroProfile 3.1 release is now available! Based on MicroProfile's time-boxed release process, this is an incremental release that includes an update to Health Check 2.1 and Metrics 2.1.0. MicroProfile 3.x releases are based on Java EE 8. If you are still dependent on Java EE 7, please consider using the 1.4 release of MicroProfile.

Read the specification document here: MicroProfile 3.1 Specification

To get started with MicroProfile 3.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>3.1</version>
    <type>pom</type>
    <scope>provided</scope>
</dependency>

Or, to import the transitive dependencies for selective use (ala BOM), add the following (or similar) to your pom.xml:

<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>org.eclipse.microprofile</groupId>
            <artifactId>microprofile</artifactId>
            <version>3.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>
</dependencies>

NOTE: Older releases of MicroProfile (1.3 and before) are located in the microprofile-bom repository.