This is an automated email from the ASF dual-hosted git repository.

stbischof pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/felix-dev.git


    from ae9ef06c08 [maven-release-plugin] prepare for next development 
iteration
     new da26bc3d64 Related to PR #420, on getting control on the logging. This 
changes disables Pax Exam's preference for Pax Logging, and changes it with 
Logback (in the latest SLF4j 1.7.x compatible version). With this change, SLF4j 
and Logback are now available for both the unit tests and the pax exam tests. 
Configured explicit versions of all 'mavenBundle's declared in the 
ComponentTestBase, as otherwise Pax will depend on Maven's LATEST, which is not 
always compatible.
     new 3aef950b0e Added flag towards Pax Exam that ensures the Pax Exam test 
fails if there are unresolved bundles within the test runtime. This to avoid 
trying to run in a test in an inconsistent/incomplete environment (as some of 
the bundles were unresolved due to an incompatible version being used).
     new fe0772d937 Replaced the static versions referenced by 
ComponentTestBase, with obtaining these versions from the SCR maven project 
itself. This relies on the depends-maven-plugin on generating a properties 
file, that is read by the .versionAsInProject() Pax mavenBundle option API. 
Needed to update two existing dependencies, and add two test dependencies in 
order for the bundles used to be mutually consistent versions.

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 scr/pom.xml                                        | 52 ++++++++++++++--------
 .../felix/scr/integration/ComponentTestBase.java   | 26 ++++++-----
 ..._all_elements_10.properties => exam.properties} |  9 ++--
 .../src/test/resources/logback-test.xml            | 23 +++++-----
 4 files changed, 65 insertions(+), 45 deletions(-)
 copy scr/src/test/resources/{components_all_elements_10.properties => 
exam.properties} (89%)
 copy rootcause/src/test/resources/logback.xml => 
scr/src/test/resources/logback-test.xml (66%)

Reply via email to