Missing dependencies abc:abc.ui.apps required dependencies missing: [adobe/cq60:core.wcm.components.content:2.7.0, adobe/cq60:core.wcm.components.config:2.7.0]

Avatar

Avatar

harshil263

Avatar

harshil263

harshil263

16-04-2020

Hi Team,

I am getting the following error while installing packages to the VM server.

Installing content
FATAL: org.apache.jackrabbit.vault.packaging.DependencyException: Refusing to install package project-ui.apps:1.0-SNAPSHOT. required dependencies missing: [adobe/cq60:core.wcm.components.content:2.7.0, adobe/cq60:core.wcm.components.config:2.7.0]

I have the ui.apps pom file in which these dependencies are already mentioned. Please refer to the following image.

 

dependencies-issue.png

Any suggestions?

AEM 6.5 core components dependencyexception

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
MVP

19-04-2020

you need to add those package as depency in your ui.apps/pom.xml

e.g.

 

<dependency>
            <groupId>com.abc</groupId>
            <artifactId>com.abc.core</artifactId>
            <version>1.0-SNAPSHOT</version>
        </dependency>


        <dependency>
            <groupId>com.adobe.cq</groupId>
            <artifactId>core.wcm.components.core</artifactId>
        </dependency>


        <dependency>
            <groupId>com.adobe.cq</groupId>
            <artifactId>core.wcm.components.content</artifactId>
            <type>zip</type>
        </dependency>

        <dependency>
            <groupId>com.adobe.cq</groupId>
            <artifactId>core.wcm.components.config</artifactId>
            <type>zip</type>
        </dependency>

 

Answers (1)

Answers (1)

Avatar

Avatar

jbrar

Employee

Avatar

jbrar

Employee

jbrar
Employee

20-04-2020

Adding to Arun's update , Try using the latest archetype and the core components dependency should be automatically included in the POM file.