Hi Team,
we are trying to add dependency for cq-social-console on POM and ended up in the following error, Any pointer to fix this issue will help us more
Dependency:
<dependency>
<groupId>com.adobe.cq.social</groupId>
<artifactId>cq-social-console</artifactId>
<version>1.3.0</version>
<scope>provided</scope>
</dependency>
Maven Build Error:
Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Could not find artifact com.adobe.cq.social:socialcommunities-parent:pom:1.4.3 in adobe-public-releases (https://repo.adobe.com/nexus/content/groups/public)
Thanks
Prem
Solved! Go to Solution.
Views
Replies
Total Likes
Thanks dwalling for the above pointer, that helps me resolving the build issue,
One small change on version that you mentioned, "1.10.167" is not avail on pubic repository, so we used the version "1.10.167.27"
<dependency>
<groupId>com.adobe.cq.social</groupId>
<artifactId>cq-socialcommunities-api</artifactId>
<version>1.10.167.27</version>
</dependency>
Index of /groups/public/com/adobe/cq/social/cq-socialcommunities-api
Thanks
Prem
Views
Replies
Total Likes
What version of AEM are you using?
Views
Replies
Total Likes
Hi smacdonald2008
We are using Version 6.2.0.SP1-CFP12 and we do installed AEM-6.2-Communities-Livefyre-Feature-Pack-3
Maven Version - 3.2.5
Thanks
Prem
Views
Replies
Total Likes
Have you tried using UBER AEM JAR to build code with Communities API. We do not have any HELPX Examples for this API so i cannot really point you to an article. (we will fix this this year).
Views
Replies
Total Likes
Views
Replies
Total Likes
This API should build with the UBER POM like the other AEM APIS so. I have reached out to the Eng team.
Views
Replies
Total Likes
Premkarthic - We are looking into this. Please wait for an update.
Views
Replies
Total Likes
Also - Eng stated:
"you shouldn’t be declaring a dependency o cq-social-console. They should use cq-socialcommunities-api which is the same version as the FP installed. There are threads in the forum that have details"
Views
Replies
Total Likes
Here is the relevant documentation link:
Views
Replies
Total Likes
smacdonald2008 tried adding that dependency too, but import for "com.adobe.cq.social.site.api.BaseSite" is not get resolved.
<dependency>
<groupId>com.adobe.cq.social</groupId>
<artifactId>cq-socialcommunities-api</artifactId>
<version>1.9.236</version>
<scope>provided</scope>
</dependency>
So i subsequently checked on depfinder and that suggest me to add
<dependency>
<groupId>com.adobe.cq.social</groupId>
<artifactId>cq-social-console</artifactId>
<version>1.3.0</version>
<scope>provided</scope>
</dependency>
and that ended up in artifact missing error that i mentioned earlier.
Views
Replies
Total Likes
What version of AEM are you using and what version of cq-socialcommunities-pkg is installed in it? the api jar needs to match the pkg version. api 1.9.236 and console 1.3.0 are not compatible.
Views
Replies
Total Likes
dwalling we are using Version 6.2.0.SP1-CFP12 and we do installed AEM-6.2-Communities-Livefyre-Feature-Pack-3,
Could you please give us the compatible version of dependencies.
Thanks
Prem
Views
Replies
Total Likes
Premkarthic AEM-6.2-Communities-LiveFyre-Feature-Pack-3 is this one:
In the details tab of package share, you'll see that it is version 1.10.167. You should also be able to locate that same version of the communities package in package manager of your AEM instance.
Declare the build dependencies in the pom using the same version as follows:
<dependency>
<groupId>com.adobe.cq.social</groupId>
<artifactId>cq-socialcommunities-api</artifactId>
<version>1.10.167</version>
<scope>provided</scope>
</dependency>
Thanks dwalling for the above pointer, that helps me resolving the build issue,
One small change on version that you mentioned, "1.10.167" is not avail on pubic repository, so we used the version "1.10.167.27"
<dependency>
<groupId>com.adobe.cq.social</groupId>
<artifactId>cq-socialcommunities-api</artifactId>
<version>1.10.167.27</version>
</dependency>
Index of /groups/public/com/adobe/cq/social/cq-socialcommunities-api
Thanks
Prem
Views
Replies
Total Likes
Views
Likes
Replies