Help to maven command for AEM | Community
Skip to main content
Level 2
June 13, 2023
Solved

Help to maven command for AEM

  • June 13, 2023
  • 3 replies
  • 832 views

 

Could you please provide the maven command for AEM,

we want to command which is automatically downloading dependancy in pom of the project?

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 EstebanBustamante

If you run "mvn clean install" all the dependencies will be pulled. But looks like yours is a different issue, the build says that something is wrong with the configuration of certain plugins, can you run this command to see what is going on? 

 

mvn install -Dmaven.plugin.validation=VERBOSE

 

3 replies

EstebanBustamante
Community Advisor and Adobe Champion
EstebanBustamanteCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
June 13, 2023

If you run "mvn clean install" all the dependencies will be pulled. But looks like yours is a different issue, the build says that something is wrong with the configuration of certain plugins, can you run this command to see what is going on? 

 

mvn install -Dmaven.plugin.validation=VERBOSE

 

Esteban Bustamante
aanchal-sikka
Community Advisor
Community Advisor
June 13, 2023

hello @bhavi50 

 

All the logs in the screenshot are either Warnings or Info. Can you please look for Error messages specifically in the logs?

Aanchal Sikka
Community Advisor
June 13, 2023

Check settings.xml file in your m2 folder, if it is not updated, download it from here https://experienceleague.adobe.com/docs/experience-cloud-kcs/kbarticles/KA-17454.html?lang=en