From a44edff19a266deff036d7f4feb0b279c8613971 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 84db3aa0..7985364b 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 993b6db6..8f459ddf 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 2b05d9b0..43138b54 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 b90f3a78..f6bd4aa0 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -68,13 +68,30 @@ 4.0.0-1.62.0 - 1.0.0 + 2.0.0 2024-09-16T09:34:35Z + + 2024.8.17465.20240813T175259Z-240700.0000 + + + + + + io.wcm.maven + io.wcm.maven.aem-cloud-dependencies + ${aem-cloud-dependencies.version} + pom + import + + + + +