-
Notifications
You must be signed in to change notification settings - Fork 78
Description
Part of #1863
3 linkage error(s)
commons-logging:commons-logging:1.2
3 target classes causing linkage errors referenced from 3 source classes.
Class org.apache.avalon.framework.logger.Logger is not found, referenced from org.apache.commons.logging.impl.AvalonLogger
Class org.apache.log.Hierarchy is not found, referenced from org.apache.commons.logging.impl.LogKitLogger
Class org.apache.log.Logger is not found, referenced from org.apache.commons.logging.impl.LogKitLogger
The following paths contain commons-logging:commons-logging:1.2: ▼
com.google.cloud:google-cloud-bigquery:1.124.7 (compile) / commons-logging:commons-logging:1.2 (compile)
com.google.cloud:google-cloud-compute:0.119.0-alpha (compile) / commons-logging:commons-logging:1.2 (compile)
com.google.cloud:google-cloud-dns:1.0.5 (compile) / commons-logging:commons-logging:1.2 (compile)
Are they really problematic? If not we should not show them in the dashboard.
AvalonLogger
Implementation of commons-logging Log interface that delegates all logging calls to the Avalon logging abstraction: the Logger interface.
https://avalon.apache.org/closed.html says
Apache Avalon has closed.
commons-logging:1.2 declares avalong-framework as optional:
<dependency>
<groupId>avalon-framework</groupId>
<artifactId>avalon-framework</artifactId>
<version>4.1.5</version>
<optional>true</optional>
</dependency>
Maven does not include transitive optional dependencies. I don't see org.apache.commons.logging.impl.AvalonLogger catches NoClassDefFoundError to see the availability.
LogKitLogger
Implementation of org.apache.commons.logging.Log that wraps the avalon-logkit logging system.
The class has 2 invalid references: org.apache.log.Hierarchy and org.apache.log.Logger. Both classes are in logkit artifact. As per the Javadoc above, the logkit is part of the Avalon project.
commons-logging:1.2 declares the dependency as optional.
<dependency>
<groupId>logkit</groupId>
<artifactId>logkit</artifactId>
<version>1.0.1</version>
<optional>false</optional>
</dependency>
Maven does not include transitive optional dependencies. I don't see org.apache.commons.logging.impl.LogKitLogger catches NoClassDefFoundError to see the availability.
Are they reachable? No, they are not reachable from the artifacts in the Libraries BOM.