There is a groovy console for AEM:
https://github.com/CID15/aem-groovy-console
However, I dont know how to install it for AEM cloud.
The instructions say to download it and run a local installer, which will install groovy console some how on the local machine.
However, this wont help the other users of our project, and wont work when the project is built on the cloud envs.
Presumably, we need to configure mvn to automatically download and install it, or possibly we have to put some sort of lib file somewhere in our ame project source?
Any suggestions?
It's taken some effort to find a solution. Here we are installing the groovy console via the aem-easy-content-upgrade tool which uses it.
There are three files to edit:
pom.xml, all/pom.xml and filter.xml
pom.xml
all/pom.xml
/all/src/main/content/META-INF/vault/filter.xml
Then rebuild with your usual 'mvn clean install -PautoInstallPackage' or similar.