ADOBE EXPERIENCE MANAGER (AEM)

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

Eclipse Menu - Window > Show > View > Navigator
Import Dialog

Browse for the Maven poject

Eclipse Menu - Window > Show > View > Navigator
Import Maven Projects Dialog

Once the project is imported into Eclipse, note that each module is a separate Eclipse project.

Eclipse Menu - Window > Show > View > Navigator
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 command automatically deploys the OSGi bundle to AEM.

mvn -PautoInstallPackage install
comments powered by Disqus