Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

launch api dependency

Avatar

Level 6

I am getting the below dependency issue. 

com.adobe.cq.launches.api,version=[1.3,2) -- Cannot be resolved

 

I included the below dependency in pom.xml

   <dependency>
          <groupId>com.adobe.cq</groupId>
          <artifactId>cq-launches-api</artifactId>
          <version>5.6.4</version>
        </dependency>

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

For 6.1, you should add AEM Uber Jar as dependency and remove the references to all individual API dependencies which are present in Uber Jar. 

<dependency> <groupId>com.adobe.aem</groupId> <artifactId>uber-jar</artifactId> <version>6.1.0</version> <classifier>obfuscated-apis</classifier> <scope>provided</scope> </dependency>
    

View solution in original post

4 Replies

Avatar

Level 10

Which version of AEM are you using and see what version is used in that using depfinder console (system/console/depfinder)

Avatar

Level 6

AEM 6.1

its /libs/launches/install/cq-launches-api-5.8.6.jar

But could not find this jar in adobe repo - https://repo.adobe.com/nexus/content/groups/public/com/adobe/cq/cq-launches-api/

Avatar

Level 10

Yes .. some of the jars are missing in repo. Please raise a support ticket to get the same

Avatar

Correct answer by
Employee Advisor

For 6.1, you should add AEM Uber Jar as dependency and remove the references to all individual API dependencies which are present in Uber Jar. 

<dependency> <groupId>com.adobe.aem</groupId> <artifactId>uber-jar</artifactId> <version>6.1.0</version> <classifier>obfuscated-apis</classifier> <scope>provided</scope> </dependency>