Folks,
I'm currently developing some components using Sightly on AEM 6.1 and discovered that the com.adobe.cq.sightly.WCMUse is deprecated. I've currently used the below maven dependency for the aem uber jar,
<dependency>
<groupId>com.adobe.aem</groupId>
<artifactId>uber-jar</artifactId>
<classifier>apis</classifier>
</dependency>
After some digging on the net, I discovered that the com.adobe.cq.sightly.WCMUse is deprecated because Adobe has donated the Sightly project to the Apache Foundation. But I haven't been able to find the appropriate maven dependency to include the right packages for sightly.
Can someone please help me with the required maven dependency for Sightly?
Solved! Go to Solution.
Views
Replies
Total Likes
use com.adobe.cq.sightly.WCMUsePojo from obfuscated-apis. following dependency-
<dependency>
<groupId>com.adobe.aem</groupId>
<artifactId>uber-jar</artifactId>
<version>6.1.0</version>
<scope>provided</scope>
<classifier>obfuscated-apis</classifier>
</dependency>
Views
Replies
Total Likes
use com.adobe.cq.sightly.WCMUsePojo from obfuscated-apis. following dependency-
<dependency>
<groupId>com.adobe.aem</groupId>
<artifactId>uber-jar</artifactId>
<version>6.1.0</version>
<scope>provided</scope>
<classifier>obfuscated-apis</classifier>
</dependency>
Views
Replies
Total Likes
awadheshv wrote...
use com.adobe.cq.sightly.WCMUsePojo from obfuscated-apis. following dependency-
<dependency>
<groupId>com.adobe.aem</groupId>
<artifactId>uber-jar</artifactId>
<version>6.1.0</version>
<scope>provided</scope>
<classifier>obfuscated-apis</classifier>
</dependency>
Thanks for sending this across, this takes care of the warnings around using a deprecated API.
Views
Replies
Total Likes
Views
Likes
Replies