In more and more projects, we find ourselves needing libraries to share code and features, all while managing different framework versions. At CamelStudio, we encountered this need in one of our projects: developing a Java library compatible with both Java 17 and Java 8.
To address this challenge, we turned to multi-profile artifacts, a solution that allows us to build specific versions tailored to each target environment. Additionally, we set up a GitLab CI pipeline to test and easily generate these various artifacts.
In this talk, I’ll explain how multi-profile artifacts work and how to implement them.
Agenda: