Expand my Community achievements bar.

SOLVED

Build failure in core : aem-guides-wknd

Avatar

Level 3

I am running aem sdk. I have made some changes in the helloWorldModel and trying to build and deploy the bundle by using "mvn clean install -PautoInstallBundle" but getting below attached error. Please see screenshot below and do the needful.

 

 

1 Accepted Solution

Avatar

Correct answer by
Level 2

@srma4tech_Sachin - Hope you have configured adobe-public profile in settings.xml(resides in .m2 folder). Try running with "mvn clean install -PautoInstallPackage -Padobe-public" command.
Also, check "aem.sdk.api" version in pom. You jar version and aem.sdk.api should have same version.
Note - aem.sdk.api resides in parent pom.xml

View solution in original post

2 Replies

Avatar

Correct answer by
Level 2

@srma4tech_Sachin - Hope you have configured adobe-public profile in settings.xml(resides in .m2 folder). Try running with "mvn clean install -PautoInstallPackage -Padobe-public" command.
Also, check "aem.sdk.api" version in pom. You jar version and aem.sdk.api should have same version.
Note - aem.sdk.api resides in parent pom.xml

Avatar

Level 3

you could use this command while building : mvn clean install -PautoInstallPackage -Padobe-public

use this while building whole project