+1 we strip microprofile during our build phase for memory savings and boot time.
On Mon, Apr 14, 2025 at 3:07 AM Richard Zowalla <r...@apache.org> wrote: > Hi all, > > Starting with TomEE 10.0.x, we've included MicroProfile 6.0 along with all > the necessary OpenTelemetry classes and libraries. > > From what I've seen, many libraries—such as JDBC drivers—automatically > enable OTEL features when the relevant libraries are present on the > classpath, regardless of any MicroProfile configuration settings. > > This puts us in a tricky position: we’re often forced to stick with older > library versions because upgrading from MP 6.0 to 6.1 tends to introduce > breaking changes. Moreover, MP 7 can only be supported once CXF provides a > compatible client, which is currently being targeted for Jakarta EE 11. > > Given this, I’d like to propose dropping the (de-activated) MicroProfile > support from the Web, Plus, and Plume distributions—meaning we would no > longer include the MP-related JARs by default. Instead, we could offer an > optional script-based approach (e.g., via a zip/tar.gz package) that users > can apply to add the MicroProfile flavor to Web/Plus/Plume as needed. > > Since this would be a breaking change, we could aim to roll it out > starting with version 10.1.x. > > WDYT? Any thoughts? > > Gruß > Richard > -- Jonathan | exabr...@gmail.com Pessimists, see a jar as half empty. Optimists, in contrast, see it as half full. Engineers, of course, understand the glass is twice as big as it needs to be.