Home » Java » Enterprise Java » MicroProfile 2.2 BOM import support

About Sebastian Daschner

Sebastian Daschner
Sebastian Daschner is a self-employed Java consultant and trainer. He is the author of the book 'Architecting Modern Java EE Applications'. Sebastian is a Java Champion, Oracle Developer Champion and JavaOne Rockstar.

MicroProfile 2.2 BOM import support

MicroProfile 2.2 just has been released with updates to the Fault Tolerance, Open Tracing, Open API, and Rest Client APIs. What’s also supported since version 2.2 is the usage of BOM (bill of material) dependency imports.

With that approach we can define the MicroProfile version in the dependencyManagement block and use only the desired MicroProfile projects. You use the MicroProfile version that’s supported by your runtime and will get the correct versions of all corresponding MicroProfile projects. This is also useful in the combination with Java EE.

See the following example Maven POM:

<project xmlns="http://maven.apache.org/POM/4.0.0"






This builds a thin deployment artifact that only ships the compiled classes. The project sources are compiled against the Java EE 8 API, the MicroProfile Config 1.3 and Fault Tolerance 2.0 APIs.

Published on Java Code Geeks with permission by Sebastian Daschner, partner at our JCG program. See the original article here: MicroProfile 2.2 BOM import support

Opinions expressed by Java Code Geeks contributors are their own.

(0 rating, 0 votes)
You need to be a registered member to rate this.
Start the discussion Views Tweet it!
Do you want to know how to develop your skillset to become a Java Rockstar?
Subscribe to our newsletter to start Rocking right now!
To get you started we give you our best selling eBooks for FREE!
1. JPA Mini Book
2. JVM Troubleshooting Guide
3. JUnit Tutorial for Unit Testing
4. Java Annotations Tutorial
5. Java Interview Questions
6. Spring Interview Questions
7. Android UI Design
and many more ....
I agree to the Terms and Privacy Policy

Leave a Reply


This site uses Akismet to reduce spam. Learn how your comment data is processed.

Notify of