How to check Maven Archetype Version of existing Project ? | Community
Skip to main content
Level 4
September 19, 2022
Solved

How to check Maven Archetype Version of existing Project ?

  • September 19, 2022
  • 3 replies
  • 4362 views

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 ?

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 Jagadeesh_Prakash

@an1-3 

 

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-project-that-was-already-bu

 

3 replies

Jagadeesh_Prakash
Community Advisor
Jagadeesh_PrakashCommunity AdvisorAccepted solution
Community Advisor
September 19, 2022

@an1-3 

 

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-project-that-was-already-bu

 

Sachin_Arora_
Community Advisor
Community Advisor
September 19, 2022

@an1-3  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.

SantoshSai
Community Advisor
Community Advisor
September 19, 2022

Hi @an1-3 ,

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

Santosh Sai