From f2c6b49f319d5d3d67488a4eba3cfa23bdad1dbd Mon Sep 17 00:00:00 2001
From: Krystian Panek <krystian.panek@wundermanthompson.com>
Date: Mon, 29 Jul 2024 09:31:41 +0200
Subject: [PATCH] All works on pure AEMaaCS/SDK

---
 all/pom.xml  | 11 +++++------
 core/pom.xml |  2 --
 2 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/all/pom.xml b/all/pom.xml
index 632828e..4b42287 100644
--- a/all/pom.xml
+++ b/all/pom.xml
@@ -77,12 +77,16 @@
                             <artifactId>stubs.core</artifactId>
                             <target>/apps/stubs-packages/application/install</target>
                         </embedded>
-                        <!-- TODO embed it as 'private-package' in core bundle instead -->
                         <embedded>
                             <groupId>org.apache.groovy</groupId>
                             <artifactId>groovy</artifactId>
                             <target>/apps/stubs-packages/application/install</target>
                         </embedded>
+                        <embedded>
+                            <groupId>org.apache.groovy</groupId>
+                            <artifactId>groovy-templates</artifactId>
+                            <target>/apps/stubs-packages/application/install</target>
+                        </embedded>
                     </embeddeds>
                 </configuration>
             </plugin>
@@ -190,10 +194,5 @@
             <version>${project.version}</version>
             <type>zip</type>
         </dependency>
-        <dependency>
-            <groupId>org.apache.groovy</groupId>
-            <artifactId>groovy</artifactId>
-            <version>4.0.18</version>
-        </dependency>
     </dependencies>
 </project>
diff --git a/core/pom.xml b/core/pom.xml
index 01713bc..e3b7e3e 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -222,13 +222,11 @@ Private-Package: net.datafaker.*,com.mifmif.common.regex.*,dk.brics.automaton.*
             <groupId>org.apache.groovy</groupId>
             <artifactId>groovy</artifactId>
             <version>4.0.18</version>
-            <scope>provided</scope>
         </dependency>
         <dependency>
             <groupId>org.apache.groovy</groupId>
             <artifactId>groovy-templates</artifactId>
             <version>4.0.9</version>
-            <scope>provided</scope>
         </dependency>
         <dependency>
             <groupId>org.apache.tika</groupId>