Closed pnyiu closed 5 years ago
@pnyiu does this not work with as is with:
mvn -PautoInstallBundle clean install
?
@godanny86 Yes, it works.
I just wonder if we can include the maven-sling-plugin
and content-package-maven-plugin
to the pom.xml for package type as bundle and content-package respectively. Then, we can simply use mvn clean install
to build and install all modules with adobe-public profile activated by default.
@pnyiu we will be updating the project to use the latest Maven Archetype 15. If you think this is something that should be part of the default archetype I would comment on that project. Thank you!
Is it possible to add below plugin in build section to core/pom.xml? So that, it will deploy the bundle to AEM.
mvn clean install
[INFO] --- maven-sling-plugin:2.2.0:install (install-bundle) @ aem-guides-wknd.core --- [INFO] Installing Bundle com.adobe.aem.guides.wknd-sites-guide(/root/aem_project/aem-guides-wknd/core/target/aem-guides-wknd.core-0.0.1-SNAPSHOT.jar) to http://localhost:4502/system/console via WebConsole [INFO] Bundle installed