Build Failure in 'All' | Community
Skip to main content
New Participant
July 11, 2023
Solved

Build Failure in 'All'

  • July 11, 2023
  • 6 replies
  • 2463 views

Error: Failed to execute goal com.adobe.aem:aemanalyser-maven-plugin:1.5.8:project-analyse (aem-analyser) on project wwg.all

 

I have updated the version of "aemanalyser" as mentioned here: https://stackoverflow.com/questions/71043425/failed-to-execute-build-analyzer-maven-plugin-in-local-sdk

But still the above error is comming.

 

Also, I'm using the latest AEM SDK version: AEM SDK for AEM v2023.7.12585.20230706T160730Z-230601

 

Any solution for this error?

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 Nupur_Jain

Hi @sanchay1

 

looking at the error you are getting in build, the build is unable to find SDK in maven central repository. You need to setup adobe repository in order to download this particular artifact. For this, follow https://experienceleague.adobe.com/docs/experience-cloud-kcs/kbarticles/KA-17454.html?lang=en

 

Once, you make sure that the changes are made to setting.xml, you can start building the project again with mvn command with -U option after mvn.

-U option tell maven to update your local repository's remote dependencies (usually third party dependencies).

 

Hope it helps!

Thanks

Nupur

6 replies

New Participant
July 29, 2024

I have the same issue, added the file and still not working. Is there anything I missed? Thanks. 

Nikhil-Kumar
New Participant
July 12, 2023

It should be because you are not downloading the dependency from the correct URL. Try updating you pom.xml and settings.xml inside .m2 folder.

Nupur_Jain
Nupur_JainAccepted solution
Employee
July 12, 2023

Hi @sanchay1

 

looking at the error you are getting in build, the build is unable to find SDK in maven central repository. You need to setup adobe repository in order to download this particular artifact. For this, follow https://experienceleague.adobe.com/docs/experience-cloud-kcs/kbarticles/KA-17454.html?lang=en

 

Once, you make sure that the changes are made to setting.xml, you can start building the project again with mvn command with -U option after mvn.

-U option tell maven to update your local repository's remote dependencies (usually third party dependencies).

 

Hope it helps!

Thanks

Nupur

DPrakashRaj
New Participant
July 11, 2023

It seems the aem ask api that you are using on your Pom. Xml doesn’t exist.

latest aem sdk that I can see on maven repo is https://mvnrepository.com/artifact/com.adobe.aem/aem-sdk-api/2023.7.12549.20230704T084019Z-230601

try using this one 

BrianKasingli
New Participant
July 11, 2023

After taking a look at the repo.maven.apache.org for the Adobe Experience Manager SDK dependency, it looks like the version you are trying to build your AEM with does not exist, Maven Repository: com.adobe.aem » aem-sdk-api (mvnrepository.com).

You can try to change the version of your dependency that actually exists, and then rebuild the code. Try this version, 2023.7.12549.20230704T084019Z-230601.

ManviSharma
Employee
July 11, 2023

Hi,

 

The error message you provided suggests that there is an issue with the execution of the AEM Analyser Maven Plugin (com.adobe.aem:aemanalyser-maven-plugin) on your project wwg.all. Even though you have updated the version of the plugin as mentioned in the Stack Overflow post, the error persists. You also mentioned that you are using the latest AEM SDK version: AEM SDK for AEM v2023.7.12585.20230706T160730Z-230601.

I recommend the following step:

  1. Verify the plugin configuration: Double-check your Maven configuration to ensure that the AEM Analyser Maven Plugin is correctly configured in your project's pom.xml file.