Skip to main content
New Participant
July 4, 2022

Issue in ui.apps when adding asset share commons as subpackage in pom.xml

  • July 4, 2022
  • 1 reply
  • 836 views

Hi, 

I created a maven project with archtype26 and aem instance 6.5.0. and added asset share commons ui.apps, ui content packages(1.9.4) in crxd using package manager in aem instance

I am adding asset share commons dependency to the maven project in parent pom.xml I added like this

in core pom.xml

<dependency>
<groupId>com.adobe.aem.commons</groupId>
<artifactId>assetshare.core</artifactId>
</dependency>

in ui.apps

<dependency>
<groupId>com.adobe.aem.commons</groupId>
<artifactId>assetshare.core</artifactId>
</dependency>
<dependency>
<groupId>com.adobe.aem.commons</groupId>
<artifactId>assetshare.ui.apps</artifactId>
<type>content-package</type>
</dependency>

 in addition I added a subpackage inside content-package-maven-plugin in ui.apps like this

its higlighted in red color in ui.apps pom.xml

but when I run the command mvn clean install -PautoInstallPackage its building sucsessfully. Can anyone help me on this.

 

Thanks, 

Vani. 

.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

lukasz-m
New Participant
July 4, 2022

Hi @vani1012,

I had the same issue, please update content-package-maven-plugin version from 1.0.2 to 1.0.4. After version upgrade please refresh your maven project in IntelliJ.

Version is set in root pom of your project.

Vani1012Author
New Participant
July 4, 2022

I updated Content-package-maven-plugin version from 1.0.2 to 1.0.4, I refreshed, invalidate cache and restarted intellij

even after that also subpackages is higlighting in red color 

Can you help me on this