Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Who Me Too'd this topic

tomasz_rak
Level 1
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?

Who Me Too'd this topic