The GitHub Actions job "CI" on pekko-connectors.git/solr-slf4j-v2 has succeeded.
Run started by GitHub user pjfanning (triggered by pjfanning).

Head commit for run:
cc290dff8d3acf6d99b81d0e115d2e1bbd67cf6c / PJ Fanning 
<[email protected]>
Solr: run tests with slf4j v2, drop legacy slf4j/logback pins

Motivation:
The Solr module was the last one pinned to slf4j 1.7 / logback 1.2 via
dependencyOverrides, dating from the solr-solrj 8.x days when the Solr
client libs did not work with slf4j v2. Since the upgrade to solrj 9.x
(#1813) that pin is obsolete: the Solr 9 ecosystem is slf4j-2-native.

Modification:
Remove the slf4j/logback legacy dependencyOverrides and the
log4j-over-slf4j bridge (nothing on the classpath uses the log4j 1.x
API any more). Additionally exclude log4j-slf4j2-impl from
solr-test-framework: under the v1 pin it was inert, but with slf4j v2
it competes with logback for provider selection, and the tests rely on
the testkit's logback-based log capturing. Delete the now-unused
Slf4jLegacyVersion and LogbackLegacyVersion vals.

Result:
Solr tests run on slf4j-api 2.0.18 / logback-classic 1.6.3 with logback
as the only slf4j provider, matching every other connector. No trace of
slf4j v1 remains in the build.

Tests:
- sbt solr/test (21/21 pass, before and after the change)
- verified via solr/Test/fullClasspath that slf4j-api 2.0.18 and
  logback-classic 1.6.3 are resolved and logback is the sole provider

References:
Fixes #611

Report URL: https://github.com/apache/pekko-connectors/actions/runs/33447615316

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to