Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanseifert committed Aug 28, 2024
2 parents 3f68b76 + b4cbb4a commit 4800173
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 11 deletions.
18 changes: 9 additions & 9 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

<groupId>io.wcm.maven</groupId>
<artifactId>io.wcm.maven.aem-cloud-dependencies</artifactId>
<version>2024.8.17465.20240813T175259Z-240700.0000</version>
<version>2024.8.17569.20240822T203847Z-240700.0000</version>
<packaging>pom</packaging>

<name>AEM Cloud Service Dependencies</name>
Expand Down Expand Up @@ -86,7 +86,7 @@
<groupId>com.adobe.aem</groupId>
<artifactId>aem-sdk-api</artifactId>
<!-- update-aem-deps:from-aem-sdk-api -->
<version>2024.8.17465.20240813T175259Z-240700</version>
<version>2024.8.17569.20240822T203847Z-240700</version>
</dependency>

<!-- OSGI (individual artifacts) -->
Expand Down Expand Up @@ -410,7 +410,7 @@
<dependency>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
<!-- update-aem-deps:bundle=org.apache.commons.collections -->
<!-- update-aem-deps:derived-from=org.apache.commons.collections:3.2.2-adobe-2 -->
<version>3.2.2</version>
</dependency>
<dependency>
Expand Down Expand Up @@ -445,7 +445,7 @@
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<!-- update-aem-deps:bundle=com.google.gson -->
<version>2.8.9</version>
<version>2.9.0</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
Expand All @@ -470,7 +470,7 @@
<dependency>
<groupId>com.github.jknack</groupId>
<artifactId>handlebars</artifactId>
<version>4.3.0</version>
<version>4.3.1</version>
</dependency>
<dependency>
<groupId>taglibs</groupId>
Expand All @@ -489,7 +489,7 @@
<dependency>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.api</artifactId>
<version>2.27.2</version>
<version>2.27.6</version>
</dependency>
<dependency>
<groupId>org.apache.sling</groupId>
Expand All @@ -499,7 +499,8 @@
<dependency>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.resourceresolver</artifactId>
<version>1.11.6</version>
<!-- update-aem-deps:derived-from=org.apache.sling.resourceresolver:1.12.0-T20240723153354-a0270a0 -->
<version>1.12.0</version>
</dependency>
<dependency>
<groupId>org.apache.sling</groupId>
Expand Down Expand Up @@ -669,8 +670,7 @@
<dependency>
<groupId>org.apache.jackrabbit.vault</groupId>
<artifactId>org.apache.jackrabbit.vault</artifactId>
<!-- update-aem-deps:derived-from=org.apache.jackrabbit.vault:3.7.3-T20240702132512-ac15993d -->
<version>3.7.2</version>
<version>3.8.0</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
Expand Down
8 changes: 6 additions & 2 deletions update-aem-deps.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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('\\.','.*') + '-.*')
Expand Down

0 comments on commit 4800173

Please sign in to comment.