Visit My Profile: https://blogs.perficientdigital.com/author/skamdi/
This is a project template for AEM-based applications.
The main parts of the template are:
- core: Java bundle containing all core functionality like OSGi services, listeners or schedulers, as well as component-related Java code such as servlets or request filters.
- ui.apps: contains the /apps (and /etc) parts of the project, ie JS&CSS clientlibs, components, templates, runmode specific configs as well as Hobbes-tests
- ui.content: contains sample content using the components from the ui.apps
- my-aem-react-app: Contains sample react app
To build all the modules run in the project root directory the following command with Maven 3:
`mvn clean install`
If you have a running AEM instance you can build and package the whole project and deploy into AEM with
`mvn clean install -PautoInstallPackage -Padobe-public`
Or to deploy only the bundle to the author, run
`mvn clean install -PautoInstallBundle -Padobe-public`
To build react modules, then use
`npm run build`
The project comes with the auto-public repository configured. To setup the repository in your Maven settings, refer to:
http://helpx.adobe.com/experience-manager/kb/SetUpTheAdobeMavenRepository.html