Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

How to know current project ArcheType version

Avatar

Level 2

Is there a way to find the ArcheType version of an existing AEM project?

 

If yes, please help with steps how to find it.

 

Thanks in advance!

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

if you check archetype.properties file in your project you will be seeing details like below one -

# Parameters used to generate this project with aem-project-archetype

groupId=com.aem.demo
artifactId=aem-demo
version=0.0.1-SNAPSHOT
package=com.aem.demo
appId=demo
appTitle=AEM Demo sites
aemVersion=6.5.9
sdkVersion=latest
languageCountry=${languageCountry}
includeExamples=n
includeErrorHandler=n
frontendModule=general
singleCountry=y
includeDispatcherConfig=n
includeCommerce=n
includeForms=n
sdkFormsVersion=latest
commerceEndpoint=https://hostname.com/graphql
datalayer=y
amp=n
enableDynamicMedia=n
enableSSR=n

I think there is no such option to know current project archetype version. 

View solution in original post

6 Replies

Avatar

Correct answer by
Employee Advisor

if you check archetype.properties file in your project you will be seeing details like below one -

# Parameters used to generate this project with aem-project-archetype

groupId=com.aem.demo
artifactId=aem-demo
version=0.0.1-SNAPSHOT
package=com.aem.demo
appId=demo
appTitle=AEM Demo sites
aemVersion=6.5.9
sdkVersion=latest
languageCountry=${languageCountry}
includeExamples=n
includeErrorHandler=n
frontendModule=general
singleCountry=y
includeDispatcherConfig=n
includeCommerce=n
includeForms=n
sdkFormsVersion=latest
commerceEndpoint=https://hostname.com/graphql
datalayer=y
amp=n
enableDynamicMedia=n
enableSSR=n

I think there is no such option to know current project archetype version. 

Avatar

Level 2

Yeah, it shows all other details but not archetype version.

Avatar

Level 2

Lets gooo just what I needed. Thanks for answering

 

Avatar

Community Advisor

@srk381 There isn't any metadata stored about it as the archetype is not required once the project is generated. You could use this and compare files and look into the release notes for differences between Archetype and your existing AEM project. However, not so reliable-  https://github.com/adobe/aem-project-archetype/tags ,