wttech / aemc

AEM Compose (Core & CLI)
https://wttech.blog/blog/2023/get-your-aem-together-with-aem-compose/
Apache License 2.0
40 stars 5 forks source link

Read and pass project package to the aem.yml on init #223

Closed krystian-panek-vmltech closed 5 months ago

krystian-panek-vmltech commented 9 months ago

when inferring project kind we could not only read aemVersion property but also package property (https://github.com/adobe/aem-project-archetype/blob/develop/src/main/archetype/archetype.properties#L6) and use it to template aem.yml file to automatically populate pids_failed_activation and pids_unsatisfied_reference so that AEM will be able to track OSGi-related component errors when deploying the application.

https://github.com/wttech/aemc/blob/main/pkg/project/app_classic/aem/default/etc/aem.yml#L101