Skip to content
Compare
Choose a tag to compare

MicroProfile 3.1 (use MicroProfile 3.2 instead)

@jclingan jclingan released this
· 138 commits to master since this release
Compare
Choose a tag to compare

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.