I'm not familiar with Clirr, but I think the "bnd-baseline-maven-plugin" does something similar. It's geared towards OSGi bundles, but may work with regular jars as well. It compares two OSGi bundles (or jar files) and reports API changes classified according to semantic versioning rules. I'm using bnd's baselining functionality (via this or other plugins) on a regular basis and it is mostly trouble free both to run and to setup.
I know that the HttpComponents project isn't very interested in OSGi. But it may be worthwhile trying if this fits the bill. Maybe adding minimal OSGi metadata by default with versioned package exports could be beneficial in order to formally describe API compatibility. Regards Julian [0] https://github.com/bndtools/bnd/tree/master/maven/bnd-baseline-maven-plugin On Sat, Dec 5, 2020 at 2:56 PM Gary Gregory <[email protected]> wrote: > > I've been working with JApiCmp for a while now, and it seems fine, it > works, it's maintained and highly configurable. > > I only know that revapi is in Log4j because I see it fly by during local > builds but I've not had to actually deal with it. > > So I can't contrast and compare. If I had to pick myself I'd just go with > what I know now and move on from there. > > Gary > > On Sat, Dec 5, 2020, 08:35 Oleg Kalnichevski <[email protected]> wrote: > > > On Sat, 2020-12-05 at 08:10 -0500, Gary Gregory wrote: > > > Over at Aapche Commons, we switched to JApiCmp, while at Log4j, we > > > switched > > > to revapi. > > > > > > > Which one would you recommend? > > > > Oleg > > > > > Gary > > > > > > On Sat, Dec 5, 2020, 07:51 Oleg Kalnichevski <[email protected]> > > > wrote: > > > > > > > ... > > > > > > > > > Hi Michael > > > > > > > > > > That would mean somewhat more work for me but what you are saying > > > > > makes > > > > > sense. I will back out protocol upgrade APIs from master and will > > > > > move > > > > > them along with Java 8 changes to 5.2.x branch. > > > > > > > > > > Oleg > > > > > > > > > > > > > One more thing. I just discovered that Clirr cannot handle certain > > > > Java > > > > 8 features correctly, most importantly default methods in > > > > interfaces. I > > > > am looking into ways of either fixing Clirr or more likely finding > > > > a > > > > better alternative. > > > > > > > > Oleg > > > > > > > > > > > > > > > > ----------------------------------------------------------------- > > > > ---- > > > > To unsubscribe, e-mail: [email protected] > > > > For additional commands, e-mail: [email protected] > > > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
