Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

Groovy console Installation on AEM as a Cloud

Avatar

Level 5

Hi All,

Is groovy console installation could be proceeded on AEM as a Cloud. Observing few articles say that AEMaaCS is not compatible and it wont install properly the Groovy. Can you share your inputs & steps if any one of you have already made Groovy console available on AEMaaCS.

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Groovy console is not supported. Meaning that it might work, but it also might not work. 

View solution in original post

4 Replies

Avatar

Level 3

We did manage to install to install the Groovy console without any hiccups for some of our migration use cases. We embedded it as a vendor package using the filevault maven plugin which is generally part of your all/pom.xml 

<embedded>
                            <groupId>org.cid15.aem.groovy.console</groupId>
                            <artifactId>aem-groovy-console-all</artifactId>
                            <type>zip</type>
                            <target>/apps/myproject-vendor-packages/container/install</target>
                        </embedded>

Make sure to add the respective dependency as well to the pom.

Avatar

Level 9

Hi @rsl_lucky ,

As per Adobe's documentation, Groovy Console is not supported on AEM as a Cloud Service. This is because AEM as a Cloud Service is a fully managed service and Adobe does not allow customers to install custom code or applications on the platform.

However, if you still want to use Groovy Console, you can install it on your local AEM instance and use it to develop and test your scripts. Once you have tested your scripts, you can then deploy them to AEM as a Cloud Service using the supported methods such as package deployment or content migration.

Here are the steps to install Groovy Console on your local AEM instance:

1. Download the Groovy Console package from the official website: http://www.groovyconsole.org/
2. Install the package on your local AEM instance by following the instructions provided in the package.
3. Once installed, you can access the Groovy Console by navigating to http://localhost:4502/groovyconsole in your web browser.
4. You can then develop and test your scripts using the Groovy Console.
5. Once you have tested your scripts, you can deploy them to AEM as a Cloud Service using the supported methods such as package deployment or content migration.

Note that Adobe recommends using the supported methods for deploying code and applications to AEM as a Cloud Service. Installing custom code or applications on the platform is not supported and may cause issues with the platform.

Avatar

Community Advisor

@rsl_lucky 

 

The latest version 17.x is compatible with AEM CLoud. https://github.com/CID15/aem-groovy-console 

 

Details on how to set it up. https://lucanerlich.com/docs/aem/groovy-console/


Aanchal Sikka

Avatar

Correct answer by
Employee Advisor

Groovy console is not supported. Meaning that it might work, but it also might not work.