Skip to content

@kwsutter kwsutter released this Jun 11, 2019 · 137 commits to master since this release

The Eclipse MicroProfile 3.0 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.0, Metrics 2.0.0, and Rest Client 1.3. MicroProfile 3.x and 2.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.0 Specification

Note: Health Check 2.0 and Metrics 2.0 introduce breaking API changes in their respective releases.
Thus, the overall MicroProfile platform release also increased the major version number to 3.0.
Please consult the individual Component release documentation for information on the breaking changes.
If these changes cause an issue with your applications, you may want to consider staying on the 2.2 release of MicroProfile.

To get started with MicroProfile 3.0, 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.0</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.0</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>javax.ws.rs</groupId>
        <artifactId>javax.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.

Assets 4