Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

socialcommunities-parent version 1.1.55 in repo

Avatar

Level 3

in 'repo.adobe.com' the 'socialcommunities-parent version 1.1.55' does not exist.

Why?

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi,

Individual artifacts have been removed from the repo.adobe.com server as a policy by Adobe. More details are available through your Support channel. Rather than using individual artifacts, it is recommended that you use "uber" api jars. For Communities applications, the dependencies would be

        <dependency>

            <groupId>com.adobe.cq.social</groupId>

            <artifactId>cq-socialcommunities-api</artifactId>

            <version>1.7.197</version>

            <scope>provided</scope>

        </dependency>

        <dependency>

            <groupId>com.day.cq.</groupId>

            <artifactId>cq-quickstart</artifactId>

            <version>6.1.0</version>

            <scope>provided</scope>

            <classifier>apis</classifier>

        </dependency>

 

Be sure to use that order (communities first, then the quickstart apis jar) and also adjust the version of the communities api jar to correspond to the version that you have installed.

Lastly, once you've compiled please check the size of the file at ~/.m2/repository/com/day/cq/cq-quickstart/6.1.0/cq-quickstart-6.1.0-apis.jar  If it is ~8mb in size then you have a minimized/obfuscated version of that jar which will cause failures at runtime. In that event please contact the Support channel to get the full api jar which should be about 17mb in size, and manually copy that jar in place of the 8mb jar.

View solution in original post

2 Replies

Avatar

Correct answer by
Employee

Hi,

Individual artifacts have been removed from the repo.adobe.com server as a policy by Adobe. More details are available through your Support channel. Rather than using individual artifacts, it is recommended that you use "uber" api jars. For Communities applications, the dependencies would be

        <dependency>

            <groupId>com.adobe.cq.social</groupId>

            <artifactId>cq-socialcommunities-api</artifactId>

            <version>1.7.197</version>

            <scope>provided</scope>

        </dependency>

        <dependency>

            <groupId>com.day.cq.</groupId>

            <artifactId>cq-quickstart</artifactId>

            <version>6.1.0</version>

            <scope>provided</scope>

            <classifier>apis</classifier>

        </dependency>

 

Be sure to use that order (communities first, then the quickstart apis jar) and also adjust the version of the communities api jar to correspond to the version that you have installed.

Lastly, once you've compiled please check the size of the file at ~/.m2/repository/com/day/cq/cq-quickstart/6.1.0/cq-quickstart-6.1.0-apis.jar  If it is ~8mb in size then you have a minimized/obfuscated version of that jar which will cause failures at runtime. In that event please contact the Support channel to get the full api jar which should be about 17mb in size, and manually copy that jar in place of the 8mb jar.