These steps show how to import an AEM Maven Project into eclipse.
Select File > Import
Select an Import Wizard - Maven - Existing Maven Projects
Browse for the Maven project
Once the project is imported into Eclipse, note that each module is a separate Eclipse project.
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
No comments:
Post a Comment
If you have any doubts or questions, please let us know.