diff --git a/pom.xml b/pom.xml
index adfaf34..24d698a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -21,7 +21,7 @@
io.wcm.maven
io.wcm.maven.aem-cloud-dependencies
- 2024.8.17465.20240813T175259Z-240700.0000
+ 2024.8.17569.20240822T203847Z-240700.0000
pom
AEM Cloud Service Dependencies
@@ -86,7 +86,7 @@
com.adobe.aem
aem-sdk-api
- 2024.8.17465.20240813T175259Z-240700
+ 2024.8.17569.20240822T203847Z-240700
@@ -410,7 +410,7 @@
commons-collections
commons-collections
-
+
3.2.2
@@ -445,7 +445,7 @@
com.google.code.gson
gson
- 2.8.9
+ 2.9.0
com.fasterxml.jackson.core
@@ -470,7 +470,7 @@
com.github.jknack
handlebars
- 4.3.0
+ 4.3.1
taglibs
@@ -489,7 +489,7 @@
org.apache.sling
org.apache.sling.api
- 2.27.2
+ 2.27.6
org.apache.sling
@@ -499,7 +499,8 @@
org.apache.sling
org.apache.sling.resourceresolver
- 1.11.6
+
+ 1.12.0
org.apache.sling
@@ -669,8 +670,7 @@
org.apache.jackrabbit.vault
org.apache.jackrabbit.vault
-
- 3.7.2
+ 3.8.0
org.slf4j
diff --git a/update-aem-deps.groovy b/update-aem-deps.groovy
index eed5d3a..a20f67e 100644
--- a/update-aem-deps.groovy
+++ b/update-aem-deps.groovy
@@ -143,8 +143,12 @@ def readAemUrl(relativeUrl) {
// reads the AEM version from locale AEM instance and finds the matching AEM SDK version in the maven repository
def resolveAemSdkVersion() {
- // PLEASE NOTE: this works only when a valid 'license.properties' is located beneath the quickstart JAR file
- def aemVersion = (readAemUrl('/system/console/status-productinfo.txt') =~ /Adobe Experience Manager \((.*)\)/)[0][1]
+ def productInfoUrl = '/system/console/productinfo'
+ def aemVersionMatcher = (readAemUrl(productInfoUrl) =~ /Adobe Experience Manager \((.*)\)/)
+ if (!aemVersionMatcher) {
+ throw new RuntimeException('Adobe Experience Manager version not present in product info from ' + productInfoUrl)
+ }
+ def aemVersion = aemVersionMatcher[0][1]
// need to transform from a AEM version like '2020.4.2793.20200403T195013Z' to '2020.04.2793.20200403T195013Z-200130'
def versionPattern = Pattern.compile(aemVersion.replaceAll('\\.','.*') + '-.*')