Maven Build Error -cq-social-console - Could not find artifact com.adobe.cq.social:socialcommunities-parent:pom:1.4.3 | Community
Skip to main content
Premkarthic-7WP
Level 4
March 19, 2018
Solved

Maven Build Error -cq-social-console - Could not find artifact com.adobe.cq.social:socialcommunities-parent:pom:1.4.3

  • March 19, 2018
  • 13 replies
  • 8071 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Premkarthic-7WP

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

13 replies

smacdonald2008
Level 10
March 19, 2018

What version of AEM are you using?

Premkarthic-7WP
Level 4
March 19, 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
Level 10
March 19, 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
Level 4
March 19, 2018

Tried smacdonald2008​, but that didn't helped us, ended up in same error.

Thanks

Prem

smacdonald2008
Level 10
March 19, 2018

This API should build with the UBER POM like the other AEM APIS so. I have reached out to the Eng team.

Rahul_Bhardwaj
Adobe Employee
Adobe Employee
March 19, 2018

Premkarthic​ - We are looking into this. Please wait for an update.

smacdonald2008
Level 10
March 19, 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"

Adobe Employee
March 19, 2018

Here is the relevant documentation link:

Using Maven for Communities

Premkarthic-7WP
Level 4
March 19, 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.

Adobe Employee
March 19, 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.