Archetype Versions | Community
Skip to main content
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 milind_bachani

Hi @jivithesj ,

 

There is no way to find out the current archetype being used for the project.
You could have two archetypes which have the same structure in output, and is hard to determine which one is version X and which one is version Y.

Also, there is no such metadata stored in the codebase after generation.

 

However, if you had a project freshly created by you on your system, you would see a file named : archetype.properties, but sadly, it would only have parameters used to generate that project and would not have the archetype version detail.

 

 

Hope this helps.

 

Thanks,

Milind

 

2 replies

SantoshSai
Community Advisor
Community Advisor
June 29, 2022

Hi @jivithesj ,

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.

Regards,

Santosh

Santosh Sai
milind_bachani
Adobe Employee
milind_bachaniAdobe EmployeeAccepted solution
Adobe Employee
June 29, 2022

Hi @jivithesj ,

 

There is no way to find out the current archetype being used for the project.
You could have two archetypes which have the same structure in output, and is hard to determine which one is version X and which one is version Y.

Also, there is no such metadata stored in the codebase after generation.

 

However, if you had a project freshly created by you on your system, you would see a file named : archetype.properties, but sadly, it would only have parameters used to generate that project and would not have the archetype version detail.

 

 

Hope this helps.

 

Thanks,

Milind