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] | Community
Skip to main content
New Participant
Apr 16, 2020 9:18 PM UTC
Solved

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]

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.

 

Any suggestions?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
arunpatidar
arunpatidarAccepted solution
New Participant
Apr 19, 2020 11:24 AM UTC

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>

 

Arun Patidar

4 replies

Employee
Apr 21, 2020 12:09 AM UTC

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

Translate
New Participant
Apr 23, 2020 12:34 AM UTC
I have compare the latest archetype but there is not much difference other than project specific.
Translate
arunpatidar
arunpatidarAccepted solution
New Participant
Apr 19, 2020 11:24 AM UTC

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>

 

Translate
Arun Patidar
New Participant
Apr 23, 2020 12:33 AM UTC
@2271399_Patidar: I have added both dependencies in ui.apps/pom.xml as well also added core module as a dependency in ui.apps/pom xml file. I am running jenkins CRX Content Package Deployer plugin to deploy the package on VM machine. Build is showing success but while deployment I am getting this log.: Package uploaded Will attempt to install package. Installing content FATAL: org.apache.jackrabbit.vault.packaging.DependencyException: Refusing to install package
Translate