com.day.cq.replication cannot be resolved
Hi All,
I am getting the following error when i deploy the 5.6.1 maven code to 6.2 instance. The build was successful but the bundles were not active. Bundle had the error "com.day.cq.replication,version=[5.12,6) -- Cannot be resolved"
When i checked the logs, i also found the below error.
osgi.wiring.package; (&(osgi.wiring.package=com.day.cq.replication)(version>=5.5.0)(!(version>=6.0.0)))]
I tried to update the dependency of com.adobe.granite.replication.core from 5.12.2 to 6.0.14.
<dependency>
<groupId>com.adobe.granite</groupId>
<artifactId>com.adobe.granite.replication.core</artifactId>
<version>6.0.14</version>
<scope>provided</scope>
</dependency>
I am now getting Build failure error,
[ERROR] Could not resolve dependencies for project xyz.commons:bundle:1.0-SNAP
SHOT: Failed to collect dependencies at com.adobe.granite:com.adobe.granite.replication.core:jar:6.0.14: Failed to read artifact descriptor for com.adobe.granite:com.adobe.granite.
replication.core:jar:6.0.14: Could not transfer artifact com.adobe.granite:com.adobe.granite.replication.core:pom:6.0.14 from/to xyz-nexus (http://10.209.48.140:9099/nexus-2.3.1
/content/repositories/adobe-releases/): Connect to 10.209.48.140:9099 [/10.209.48.140] failed: Connection refused
Kindly suggest on solution to resolve this error.