You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This causes a warning when checking for duplicate logging frameworks, ie when building the lineage sample connector:
* What went wrong:
Could not determine the dependencies of task ':shadowJar'.
> Could not resolve all dependencies for configuration ':runtimeClasspath'.
> Could not resolve commons-logging:commons-logging:1.2.
Required by:
project : > org.odpi.egeria:lineage-integrator-api:3.15 > io.openlineage:openlineage-java:0.18.0
project : > org.odpi.egeria:lineage-integrator-api:3.15 > io.openlineage:openlineage-java:0.18.0 > org.apache.httpcomponents:httpclient:4.5.13
> Module 'commons-logging:commons-logging' has been rejected:
Cannot select module with conflict on capability 'dev.jacomet.logging:commons-logging-impl:1.0' also provided by [org.springframework:spring-jcl:5.3.24(runtimeElements)]
> Could not resolve org.springframework:spring-jcl:5.3.24.
Required by:
project : > org.odpi.egeria:lineage-integrator-api:3.15 > org.odpi.egeria:ffdc-services:3.15 > org.springframework:spring-core:5.3.24
> Module 'org.springframework:spring-jcl' has been rejected:
Cannot select module with conflict on capability 'dev.jacomet.logging:commons-logging-impl:1.0' also provided by [commons-logging:commons-logging:1.2(runtime)]
This may cause logging framework issues and should be resolved through adapter configuration - such as making use of jcl-over-slf4j
This is a run from the PR that bumps the plugin version to perform a more thorough check.
For now will leave the plugin at the current version since
more changes will be introduced by our spring changes
this logging issue needs investigation
If this is fixed before then, this plugin can be updated at the same time
We should also test (runtime) the lineage support after making a change
@mandy-chessell I don't think there's any fvt coverage yet. is this something you have planned? what's the best way to validate any change here. We need to check with v4, and after new spring updates in any case
Further investigation shows this affects many (most?) modules - it is NOT specific to lineage.
#7489 implemented a fix to dependencies to ensure only a single implementation is used ie in this case with slf4j bridge being used as the commons logging implementation (and slfj itself being implemented by logback in our application)
The lineage-integrator-api module has a dependency:
This causes a warning when checking for duplicate logging frameworks, ie when building the lineage sample connector:
This may cause logging framework issues and should be resolved through adapter configuration - such as making use of jcl-over-slf4j
See https://www.alibabacloud.com/blog/598223 for some suggestions
The text was updated successfully, but these errors were encountered: