From ccb8c357937d3634b8c0b604697a54a10bf61bec Mon Sep 17 00:00:00 2001 From: Stefan Seifert Date: Thu, 5 May 2022 18:41:51 +0200 Subject: [PATCH] update to AEM Cloud dependencies allow to set AEMaaCS version via maven property aem-cloud-dependencies.version --- core/pom.xml | 8 ++++---- .../test/resources/simplelogger.properties | 5 +++++ junit4/pom.xml | 8 ++++---- .../test/resources/simplelogger.properties | 5 +++++ junit5/pom.xml | 8 ++++---- .../test/resources/simplelogger.properties | 5 +++++ parent/pom.xml | 19 ++++++++++++++++++- 7 files changed, 45 insertions(+), 13 deletions(-) create mode 100644 core/src/test/resources/simplelogger.properties create mode 100644 junit4/src/test/resources/simplelogger.properties create mode 100644 junit5/src/test/resources/simplelogger.properties diff --git a/core/pom.xml b/core/pom.xml index 093ce119..e6cb6728 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -225,7 +225,7 @@ com.adobe.aem - uber-jar + aem-sdk-api provided @@ -276,9 +276,9 @@ test - io.wcm - io.wcm.testing.logging.logback - ${logging-logback.version} + org.apache.sling + org.apache.sling.testing.logging-mock + ${logging-mock.version} test diff --git a/core/src/test/resources/simplelogger.properties b/core/src/test/resources/simplelogger.properties new file mode 100644 index 000000000..e927e61a --- /dev/null +++ b/core/src/test/resources/simplelogger.properties @@ -0,0 +1,5 @@ +org.slf4j.simpleLogger.defaultLogLevel=WARN + +org.slf4j.simpleLogger.log.org.apache.sling.testing.mock.osgi=WARN +org.slf4j.simpleLogger.log.org.apache.sling.testing.mock.sling=WARN +org.slf4j.simpleLogger.log.io.wcm.testing.mock.aem=WARN \ No newline at end of file diff --git a/junit4/pom.xml b/junit4/pom.xml index 67b76d56..39eb68f9 100644 --- a/junit4/pom.xml +++ b/junit4/pom.xml @@ -96,7 +96,7 @@ com.adobe.aem - uber-jar + aem-sdk-api provided @@ -120,9 +120,9 @@ test - io.wcm - io.wcm.testing.logging.logback - ${logging-logback.version} + org.apache.sling + org.apache.sling.testing.logging-mock + ${logging-mock.version} test diff --git a/junit4/src/test/resources/simplelogger.properties b/junit4/src/test/resources/simplelogger.properties new file mode 100644 index 000000000..e927e61a --- /dev/null +++ b/junit4/src/test/resources/simplelogger.properties @@ -0,0 +1,5 @@ +org.slf4j.simpleLogger.defaultLogLevel=WARN + +org.slf4j.simpleLogger.log.org.apache.sling.testing.mock.osgi=WARN +org.slf4j.simpleLogger.log.org.apache.sling.testing.mock.sling=WARN +org.slf4j.simpleLogger.log.io.wcm.testing.mock.aem=WARN \ No newline at end of file diff --git a/junit5/pom.xml b/junit5/pom.xml index 909f9417..55ee8cb9 100644 --- a/junit5/pom.xml +++ b/junit5/pom.xml @@ -70,7 +70,7 @@ com.adobe.aem - uber-jar + aem-sdk-api provided @@ -107,9 +107,9 @@ test - io.wcm - io.wcm.testing.logging.logback - ${logging-logback.version} + org.apache.sling + org.apache.sling.testing.logging-mock + ${logging-mock.version} test diff --git a/junit5/src/test/resources/simplelogger.properties b/junit5/src/test/resources/simplelogger.properties new file mode 100644 index 000000000..e927e61a --- /dev/null +++ b/junit5/src/test/resources/simplelogger.properties @@ -0,0 +1,5 @@ +org.slf4j.simpleLogger.defaultLogLevel=WARN + +org.slf4j.simpleLogger.log.org.apache.sling.testing.mock.osgi=WARN +org.slf4j.simpleLogger.log.org.apache.sling.testing.mock.sling=WARN +org.slf4j.simpleLogger.log.io.wcm.testing.mock.aem=WARN \ No newline at end of file diff --git a/parent/pom.xml b/parent/pom.xml index b6d413f1..9fe5ee37 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -68,13 +68,30 @@ 3.1.10-1.44.0 - 1.0.0 + 2.0.0 2024-01-26T16:13:31Z + + 2023.12.14697.20231215T125030Z-231200.0000 + + + + + + io.wcm.maven + io.wcm.maven.aem-cloud-dependencies + ${aem-cloud-dependencies.version} + pom + import + + + + +