From 62b200b12bd6225889f9a4136db7d50c30c9758c 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 bcff36b1..48b39956 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -230,7 +230,7 @@ com.adobe.aem - uber-jar + aem-sdk-api provided @@ -281,9 +281,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 b1d11615..3bfe2867 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 7cdd5e87..71744a72 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 ee954da9..90d27645 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 2023-10-17T08:09:46Z + + 2023.8.13099.20230810T160553Z-230702.0000 + + + + + + io.wcm.maven + io.wcm.maven.aem-cloud-dependencies + ${aem-cloud-dependencies.version} + pom + import + + + + +