Update Maven Archetype to version 26

Avatar

Avatar
Ignite 1
Level 1
saukaush
Level 1

Likes

2 likes

Total Posts

14 posts

Correct reply

0 solutions
Top badges earned
Ignite 1
Give Back
Boost 1
View profile

Avatar
Ignite 1
Level 1
saukaush
Level 1

Likes

2 likes

Total Posts

14 posts

Correct reply

0 solutions
Top badges earned
Ignite 1
Give Back
Boost 1
View profile
saukaush
Level 1

13-04-2021

We are upgrading from AEM 6.3 to 6.5.5. 

I am not able to check the Maven Archetype of our project but it is very old as no one has updated it for a long time.

Please help me understand how can i upgrade the archetype to version 26.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Establish
Level 4
kchaurasiya
Level 4

Likes

63 likes

Total Posts

57 posts

Correct reply

8 solutions
Top badges earned
Establish
View profile

Avatar
Establish
Level 4
kchaurasiya
Level 4

Likes

63 likes

Total Posts

57 posts

Correct reply

8 solutions
Top badges earned
Establish
View profile
kchaurasiya
Level 4

02-06-2021

Hi SauKaush,

 

Maven archetype is only required whenever you are creating the project from scratch. If you are migrating the AEM version from 6.3 to 6.5.5. In this case you need to upgrade the uber-jar, maven dependencies, Jdk-11 ,OSGI and 6.5 service package. You have to fix the all errors whatever you see in your code.

You can also create the new project setup with the maven archetype then you need to copy paste the code from old repo, but i think this is not recommended . Because there will be more efforts.

Answers (1)

Answers (1)

Avatar

Avatar
Applaud 25
Level 10
asutosh_jena
Level 10

Likes

593 likes

Total Posts

705 posts

Correct reply

207 solutions
Top badges earned
Applaud 25
Give Back 100
Boost 500
Affirm 100
Ignite 1
View profile

Avatar
Applaud 25
Level 10
asutosh_jena
Level 10

Likes

593 likes

Total Posts

705 posts

Correct reply

207 solutions
Top badges earned
Applaud 25
Give Back 100
Boost 500
Affirm 100
Ignite 1
View profile
asutosh_jena
Level 10

13-04-2021

Hi @saukaush 

By looking into the structure it will be really difficult for anyone to say which Maven Archetype was used to create the code repository. However if you want to make sure that you are using the latest Maven version for all the dependency, you can create a new AEM project using the Archetype 26 and reference to the POM files generated with your old code base to see exactly which version you need to update.

 

As you know the latest Maven Archetype(not only 26 others as well) has a different structure all togather i.e. it has now so may folder specific content such as ui.config, ui.frontend and so on. you will need to create a new project and migrate the code from old project to Latest Maven Archetype.

 

https://github.com/adobe/aem-project-archetype

 

Thanks!