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?
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
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>
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>
Views
Replies
Total Likes
Adding to Arun's update , Try using the latest archetype and the core components dependency should be automatically included in the POM file.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies