March 15, 2020
Estimated Post Reading Time ~ < 1 Min

How to import AEM Maven project into Eclipse

These steps show how to import an AEM Maven Project into eclipse.

Select File > Import
Select an Import Wizard - Maven - Existing Maven Projects
aem-eclipse-select-import-wizard-maven%25402x

Import Dialog
Browse for the Maven project
aem-eclipse-import-maven-projects%25402x

Import Maven Projects Dialog
Once the project is imported into Eclipse, note that each module is a separate Eclipse project.
aem-eclipse-import-maven-projects-project-explorer%25402x

Project Explorer
Continue to build the OSGi bundle and deploy using Maven from the command line. Use Eclipse for remote debugging, to make file updates and export component files as needed with Sling export. See my Developer Tools for Eclipse page for more info on Sling export.
For example, the -PautoInstallPackage the command automatically deploys the OSGi bundle to AEM.
mvn -PautoInstallPackage install
aem4beginner.blogspot


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.

Ad Blocker Detected :(

Please consider supporting us by disabling your ad blocker.

Please Disable your adblocker and Refresh the page to view the site content.