![]() Then add below line in your project core pom.xmlĬlick Here to Learn How to create project in aem using maven archetype command.Īlso see how to sync content from crxde to eclipse using vlt plugin. Note:- If your project is in installed state in Felix console and getting import error “javax.inject version”. You can see you project structure is mapped to crxde from eclipse.Mvn clean install -P aemcq5tutorials-author Open command prompt and run below command.On your local system go to aemcq5tutorials pom.xml location.Build AEM Multi Module project using Maven Note: – If you don’t have any profile with the name you are trying to build then you will get warning message during build “the requested profile could not be activated because it does not exist”. Similarly we can add or publish enviroment. Go to profiles section and add below code.Open pom.xml of aemcq5tutorials.ui.apps and aemcq5tutorials.ui.content.Note: – It will take around 5-10 minutes for setting up your project structure. Your project structure should look like below screenshot.Select don’t deploy on server as we are going to use maven command for deployment. during maven build your code will be copied at this location. Package maps to location org/training folder in your.You can see that Name maps to artifactName and appsFolderName.Click Next to configure AEM Archetype project. ![]() select File -> New project -> Select AEM Sample Multi-Module Project.Restart Eclipse.Ĭreate AEM multi module project using aem plugin I was able to start the server and publish the projects, but its not reflected in the apps folder of AEM. And then add these projects into the created AEM server. Accept terms and condition and click Finish. Approach - 2: Mars Eclipse, Java 1.8 and AEM 6.2 First create the AEM server in the server window Select the Archetype-10, Choose Don't deploy on server, Finish.Step 4: A window will pop up in which you have to paste the GitHub Repository URL and also GitHub. Step 3: We will after this as shown in the image now select Clone a Git repository. Pre-requisites for creating a mvn archetype Project:- Step 2: Open Eclipse and go to Window > Show views > Other > Git > Git Repositories for making git repositories visible in eclipse as shown in the image. Build aem multi module project using maven.How to create AEM multi module project using aem plugin.If you want to learn how to create or setup a new project in AEM from scratch and how to sync data between eclipse and crxde. I personally like this tutorial very much as it clear lot of basics and recommend it for advanced developers also to go through it once. This tutorial is intended for AEM beginners who are facing issue in setting up their eclipse work space. The focus of this tutorial is to learn how to AEM Multi Module Project and build it using maven.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |