Expand my Community achievements bar.

Cloud Service SDK in repo under wrong URL

Avatar

Level 1

Hello, I've tried to add deppendency to gradle project, following this instructions:
https://docs.adobe.com/content/help/en/experience-manager-cloud-service/implementing/developing/aem-...

In those instructions, dependency is defined for maven:

<dependency>
  <groupId>com.adobe.aem</groupId>
  <artifactId>aem-sdk-api</artifactId>
  <version>2019.11.3006.20191108T223635Z-191201</version>
  <scope>provided</scope>
</dependency>

so corresponding Gradle dependency will be:

"compileOnly"( "com.adobe.aem:aem-sdk-api:2020.04.2937.20200416T210948Z-200409")

But Gradle cannot find it. 

 

This package exist under URL
https://downloads.experiencecloud.adobe.com/content/maven/public/com/adobe/aem/aem-sdk-api/2020.05.3...

Yet in POM.xml of that package, groupID is defined as

<groupId>com.adobe.sdk</groupId>

 

When I downloaded this package and manually added it to my local .m2 folder, recreating directory structure and putting it under

.m2/repository/com/adobe/aem/aem-sdk-api/2020.04.2937.20200416T210948Z-200409

Gradle throws me an error, that "inconsistent module matadata found"

Errors: bad group: expected='com.adobe.aem' found='com.adobe.sdk'

 

Am I missing something? Is that Cloud Service SDK is in correct place?

0 Replies