Build failure in core : aem-guides-wknd | Community
Skip to main content
srma4tech_Sachin
Level 2
May 25, 2023
Solved

Build failure in core : aem-guides-wknd

  • May 25, 2023
  • 2 replies
  • 801 views

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.

 

 

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

@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

2 replies

rajmishra10Accepted solution
Level 2
May 26, 2023

@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

Level 2
May 29, 2023

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

use this while building whole project