diff --git a/pom.xml b/pom.xml index 057e2f5a..9730ce60 100644 --- a/pom.xml +++ b/pom.xml @@ -40,7 +40,7 @@ tooling/maven/archetypes/aem - 3.3.0 + 3.3.1 diff --git a/src/main/resources/META-INF/archetype-post-generate.groovy b/src/main/resources/META-INF/archetype-post-generate.groovy index 1e0dc10a..58f08fa5 100644 --- a/src/main/resources/META-INF/archetype-post-generate.groovy +++ b/src/main/resources/META-INF/archetype-post-generate.groovy @@ -1,4 +1,4 @@ -@Grab(group="org.codehaus.groovy", module="groovy-xml", version="3.0.22") +@Grab(group="org.apache.groovy", module="groovy-xml", version="4.0.23") @Grab(group="net.lingala.zip4j", module="zip4j", version="2.11.5") import java.util.regex.Pattern import java.util.concurrent.Callable @@ -7,7 +7,7 @@ import java.text.SimpleDateFormat import java.nio.file.Files import java.nio.file.StandardCopyOption import groovy.io.FileType -import groovy.util.XmlSlurper +import groovy.xml.XmlSlurper import net.lingala.zip4j.ZipFile def rootDir = new File(request.getOutputDirectory() + "/" + request.getArtifactId())