Hi All,
I am getting a weird build issue -
[ERROR] Error while reading API info from com.adobe.aem:aem-sdk-api:2025.9.22450.20250911T131210Z-250800
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.adobe.aem:aemanalyser-maven-plugin:1.6.4:analyse (default-analyse) on project projectA.all.analyse: Provider types not found in com.adobe.aem:aem-sdk-api:2025.9.22450.20250911T131210Z-250800. Please update to a more recent version of the API. -> [Help 1]
Now the weird thing is nowhere in my pom.xml is the 2025.9 version defined.
In my pom.xml the properties are defined as below -
<aem.sdk.api>2024.7.17258.20240726T172406Z-240700</aem.sdk.api>
<dependency>
<groupId>com.adobe.aem</groupId>
<artifactId>aem-sdk-api</artifactId>
<version>${aem.sdk.api}</version>
<scope>provided</scope>
</dependency>
So couple of questions here if the pom.xml defines the version as 2024.7 then where does 2025.9 come up from?
And how to get rid of this issue ? @arunpatidar, @SantoshSai, @Rohan_Garg, @aanchal-sikka
Thanks,
Nagesh
해결되었습니다! 솔루션으로 이동.
조회 수
답글
좋아요 수
We updated the SDK from 2024.7 to 2025.9.22450.20250911T131210Z-250800 to get over this issue.
Hi @NageshRaja,
The aemanalyser-maven-plugin resolves against the latest available SDK API unless pinned. If you’re using the default plugin configuration, Maven may be pulling the newest version from Adobe’s repo, not the one in your property.
Another dependency (e.g., uber-jar, project BOM, or parent archetype) could be dragging in the newer SDK API.
Sometimes Maven will cache and prefer a newer snapshot/release from Adobe’s Nexus repo if available. That explains why you see a 2025.9 build even though you didn’t specify it.
Clean up your repo in case the wrong one is cached:
or manually remove the ~/.m2/repository/com/adobe/aem/aem-sdk-api/2025.9* folder.
Double-check your parent pom (all, ui.apps, core, etc.) for an <aem.sdk.api> override. Sometimes the archetype scaffolds multiple versions across modules.
@SantoshSai thank you for the response but this didn't work - I tried -U but that just rebuilt the repo and the error again
Here's my pom.xml setting -
<aemanalyser.version>1.6.4</aemanalyser.version>
<aem.sdk.api>2024.7.17258.20240726T172406Z-240700</aem.sdk.api>
<dependency>
<groupId>com.adobe.aem</groupId>
<artifactId>aem-sdk-api</artifactId>
<version>${aem.sdk.api}</version>
<scope>provided</scope>
</dependency>
<!-- AEM Analyser Plugin -->
<plugin>
<groupId>com.adobe.aem</groupId>
<artifactId>aemanalyser-maven-plugin</artifactId>
<version>${aemanalyser.version}</version>
<extensions>true</extensions>
</plugin>
조회 수
답글
좋아요 수
Hi @NageshRaja
You can set exact version using below -
sdkVersion.More info
https://github.com/adobe/aemanalyser-maven-plugin/blob/main/aemanalyser-maven-plugin/README.md
hey @arunpatidar,
this is the setting in my pom.xml where both versions are set yet the build picks up the latest
<aemanalyser.version>1.6.4</aemanalyser.version>
<aem.sdk.api>2024.7.17258.20240726T172406Z-240700</aem.sdk.api>
<!-- AEM Analyser Plugin -->
<plugin>
<groupId>com.adobe.aem</groupId>
<artifactId>aemanalyser-maven-plugin</artifactId>
<version>${aemanalyser.version}</version>
<extensions>true</extensions>
</plugin>
<dependency>
<groupId>com.adobe.aem</groupId>
<artifactId>aem-sdk-api</artifactId>
<version>${aem.sdk.api}</version>
<scope>provided</scope>
</dependency>
조회 수
답글
좋아요 수
Even after explicitly defining the sdk version, the module fails.
Here's the error below -
[ERROR] The analyser found the following errors for author and publish :
[ERROR] [api-regions-exportsimports] com.adobe.acs:acs-aem-commons-bundle-cloud:6.14.0: Bundle acs-aem-commons-bundle-cloud:6.14.0 is importing package(s) Package com.day.cq.commons.mail;version=[5.8,6) in start level 20 but no visible bundle is exporting these for that start level in the required version range. (com.benz.aem:benzweb.all:1.0.0-SNAPSHOT|adobe/consulting:acs-aem-commons-all:6.14.0)
조회 수
답글
좋아요 수
@NageshRaja Just checking in! Were you able to get this resolved? If you found your own solution, sharing the details would be a big help to others who might face the same issue later on. And if one of the replies here helped, whether it fully solved the problem or simply pointed you in the right direction, marking it as accepted makes it much easier for future readers to find. Thanks again for helping close the loop and contributing to the community!
조회 수
답글
좋아요 수
We updated the SDK from 2024.7 to 2025.9.22450.20250911T131210Z-250800 to get over this issue.