Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

How to check Maven Archetype Version of existing Project ?

Avatar

Level 4

We have existing code repository and need to check if we should have to update Archetype or not?

 

Current AEM Version - AEM 6.4.8

Current Archetype Version - Need information how we can identify version of archetype? 

 

Note: We don't have any issue from existing Archetype as well but for platform audit point of view , Do we need to upgrade to latest ? If yes what would be additional benefit ?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@Anoop_Garg 

 

You can't. You could have two archetypes with the exact same structure so from the output structure of the project you wouldn't be able to tell. There isn't any metadata stored about it either.

 

https://stackoverflow.com/questions/63445951/hi-team-how-do-i-find-the-archetype-for-an-existing-pro...

 

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

@Anoop_Garg 

 

You can't. You could have two archetypes with the exact same structure so from the output structure of the project you wouldn't be able to tell. There isn't any metadata stored about it either.

 

https://stackoverflow.com/questions/63445951/hi-team-how-do-i-find-the-archetype-for-an-existing-pro...

 

Avatar

Community Advisor

@Anoop_Garg  Nope that is not possible. You can create a sample project for same AEM version with latest archetype and compare the differences. There might be some dependency version updates would be there that will make your project more compliant apart from that I dont think there would be any major change.

Avatar

Community Advisor

Hi @Anoop_Garg ,

I believe there isn't a direct way to find out the archetype version once it is created, you can check the release notes for the archetypes which shows the new changes/fixes they have done as part of the version. https://github.com/adobe/aem-project-archetype/tags You should be able to compare them and find the respective version.

Most of the times, you can see the core component version changes and get the information right away.

Again, even though you go through this process, you might not find the right version as someone in the team might have updated it for some requirements.

Original post: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/archetype-versions/m-p/458...

Regards,

Santosh