From 520605cbadf8c6417f2664e36098d095ee6aa28e Mon Sep 17 00:00:00 2001 From: Gaurav Gupta Date: Fri, 18 Oct 2024 21:17:42 +0530 Subject: [PATCH] FISH-9958 Fix Payara Starter Archetype "unable to resolve class groovy.text.SimpleTemplateEngine" (Temp fix)) --- .../src/main/resources/META-INF/maven/archetype-metadata.xml | 3 --- .../fish/payara/starter/resources/ApplicationGenerator.java | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/starter-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml b/starter-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml index 268f705..3694b0f 100644 --- a/starter-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml +++ b/starter-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml @@ -142,9 +142,6 @@ DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. false ^(false|true)$ - - - resource diff --git a/starter-ui/src/main/java/fish/payara/starter/resources/ApplicationGenerator.java b/starter-ui/src/main/java/fish/payara/starter/resources/ApplicationGenerator.java index 425d884..23e335b 100644 --- a/starter-ui/src/main/java/fish/payara/starter/resources/ApplicationGenerator.java +++ b/starter-ui/src/main/java/fish/payara/starter/resources/ApplicationGenerator.java @@ -101,7 +101,7 @@ public class ApplicationGenerator { private static final String ARCHETYPE_GROUP_ID = "fish.payara.starter"; private static final String ARCHETYPE_ARTIFACT_ID = "payara-starter-archetype"; private static final String ARCHETYPE_VERSION = "1.0-beta9"; - private static final String MAVEN_ARCHETYPE_CMD = "archetype:generate"; + private static final String MAVEN_ARCHETYPE_CMD = "org.apache.maven.plugins:maven-archetype-plugin:3.2.1:generate";// "archetype:generate"; private static final String ZIP_EXTENSION = ".zip"; @Resource(name = "java:comp/DefaultManagedExecutorService")