As I am trying to migrate my backend code base from AEM 6.1 to AEM 6.4, I came across the following issue.The dependency for org.joda.time,version=[1.6,2) and org.joda.time.format,version=[1.6,2) cannot be resolved.According to one of the helpx.adobe.com some of the methods for this dependency are depricated in 6.4. Can anyone suggestion the alternative for this dependency. I have added the below maven dependency in my project pom.xml:
First on addition of the following maven dependency in the pom.xml the dependency were resolved ,find the screen shot of the same:
To resolve com.day.cq.commons,version = [5.7,6) dependency,I imported the com.day.cq.commons;version="6.0",* package in my bundle pom.xml only to observe that the dependency for org.joda.time,version=[1.6,2) and org.joda.time.format,version=[1.6,2) were in unresolved state and com.day.cq.commons,version=6.0 in resolved state.Please find the below screen shot of the same.I am not able to get the cause of this and would like to know how is com.day.cq.commons related to org.joda.time.