commit | 2e87539ed2805b61f03bc109b84cae5492bcc36c | [log] [tgz] |
---|---|---|
author | Robert Munteanu <rombert@apache.org> | Fri Aug 01 22:43:54 2014 +0000 |
committer | Robert Munteanu <rombert@apache.org> | Fri Aug 01 22:43:54 2014 +0000 |
tree | d39897bbc906b022b1e8200c5e5ce4096e0c4cb5 | |
parent | f88dd430c8720ee4eef24ac2dcf4205e1aca5292 [diff] |
SLING-3813 - Pax-Exam tests fail when executed under Java 8 Upgrade commons/log to use the latest versions of pax-exam, pax-link and felix. git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1615259 13f79535-47bb-0310-9956-ffa450edef68
The “log” project packages the Logback library to manage logging in OSGi environment. It provide some useful extension to the default Logback feature set to enable better integration with OSGi. The SLF4j API bundle must be installed along with this bundle to provide full SLF4J logging support.
The Logging bundle should be installed as one of the first modules in the OSGi framework and - provided the framework supports start levels - be set to start at start level 1. This ensures the Logging bundle is loaded as early as possible thus providing services to the framework and preparing logging.
For more details refer to the Logging Documentation
You can compile and package the jar using the following command:
mvn package -Pide,coverage
It would build the module and also produce a test coverage report also prepare bundle jar which is suitable to be used to run integration test from within IDE.