What is Apache Commons Logging?
The Apache Commons Logging (JCL) provides a Log interface that is intended to be both light-weight and an independent abstraction of other logging toolkits. It provides the middleware/tooling developer with a simple logging abstraction, that allows the user (application developer) to plug in a specific logging implementation.
What libraries are included in Commons-Logging-API?
The commons-logging-api.jar file includes the JCL API and the default LogFactory implementation as well as the built-in Log implementations SimpleLog and NoOpLog. However it does not include the wrapper Log implementations that require additional libraries such as Log4j, Avalon and Lumberjack.
Can I use Commons-Logging-adapters alone?
The commons-logging-adapters.jar file includes only adapters to third-party logging implementations, and none of the core commons-logging framework. As such, it cannot be used alone; either commons-logging.jar or commons-logging-api.jar must also be present in the classpath.
What are the different types of logs used by JCL?
There are two base abstractions used by JCL: Log (the basic logger) and LogFactory (which knows how to create Log instances). Specifying a particular Log implementation is very useful (whether that is one provided by commons-logging or a user-defined one).
Apache Commons Logging is a thin adapter allowing configurable bridging to other, well known logging systems.
What does resolve all dependencies mean in Maven?
This goal simply tells maven to resolve all test scope (includes compile) dependencies and then displays the resolved versions. This is intended to help ensure all dependencies are downloaded to the local repository.
What is dsilent source sources in MVN dependency?
Sources is intended to be used from the command line like: mvn dependency:sources -Dsilent=true This is the same as the resolve goal except it includes the source attachments if they exist. This is useful when you want to download source attachments to your local repository.