The GitHub Actions job "Build" on 
jackrabbit-oak.git/OAK-12249-lazy-provisioning has failed.
Run started by GitHub user bhabegger (triggered by reschke).

Head commit for run:
68c295663b874283b8294389714ced1e77200b77 / Benjamin Habegger 
<[email protected]>
OAK-12249: fix OSGi baseline versioning for elastic.index/query/util

ElasticIndexWriterFactory#newInstance's return type widened from the
concrete ElasticIndexWriter to the FulltextIndexWriter interface -- a
binary-incompatible, major change to the exported
elastic.index package. Without a package-info.java, this package's
declared OSGi version tracked the bundle's own version (2.5.0), which
only satisfies a minor bump, failing the maven-bundle-plugin baseline
check ("Version increase required ... suggested 3.0.0").

The same auto-tracking also drags elastic.query and elastic.util up to
2.5.0 even though neither package's API changed at all, triggering
"Excessive version increase" / "no changes detected" warnings.

Adds package-info.java per OSGi semantic versioning to pin each
package's version independently of the bundle version: elastic.index
to 3.0.0 (major, matches the actual breaking change), elastic.query
and elastic.util to 2.4.1 (bnd requires at least a micro bump the first
time a package gains an explicit declared version, even with no API
change).

Report URL: https://github.com/apache/jackrabbit-oak/actions/runs/32836084471

With regards,
GitHub Actions via GitBox

Reply via email to