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
Premkarthic-7WP
Premkarthic-7WP
19-03-2018
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
dwalling
Employee
dwalling
Employee
19-03-2018
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>
Premkarthic-7WP
Premkarthic-7WP
19-03-2018
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
dwalling
Employee
dwalling
Employee
19-03-2018
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.
Premkarthic-7WP
Premkarthic-7WP
19-03-2018
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.
dwalling
Employee
dwalling
Employee
19-03-2018
Here is the relevant documentation link:
smacdonald2008
smacdonald2008
19-03-2018
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"
Rahul_Bhardwaj
Employee
Rahul_Bhardwaj
Employee
19-03-2018
Premkarthic - We are looking into this. Please wait for an update.
smacdonald2008
smacdonald2008
19-03-2018
This API should build with the UBER POM like the other AEM APIS so. I have reached out to the Eng team.
Premkarthic-7WP
Premkarthic-7WP
19-03-2018
smacdonald2008
smacdonald2008
19-03-2018
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).
Premkarthic-7WP
Premkarthic-7WP
19-03-2018
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
smacdonald2008
smacdonald2008
19-03-2018
What version of AEM are you using?