Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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

Avatar

Level 4

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

Vani1012_0-1656916276663.png

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

Vani1012_1-1656916485082.png

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. 

.

2 Replies

Avatar

Community Advisor

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.

cpmp.png

Avatar

Level 4

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 

Vani1012_0-1656921844603.png

Can you help me on this