diff --git a/pom.xml b/pom.xml
index 7ed9c58..40343b0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -42,7 +42,7 @@
4.0.0
fish.payara.starter
payara-starter-parent
- 1.0-beta5
+ 1.0-beta6
pom
Payara Starter Parent
Payara Starter Parent
diff --git a/starter-archetype/pom.xml b/starter-archetype/pom.xml
index 396a32d..92c44f7 100644
--- a/starter-archetype/pom.xml
+++ b/starter-archetype/pom.xml
@@ -41,14 +41,14 @@
4.0.0
payara-starter-archetype
- 1.0-beta5
+ 1.0-beta6
maven-archetype
Payara Starter Archetype
Archetype for Payara Platform application.
fish.payara.starter
payara-starter-parent
- 1.0-beta5
+ 1.0-beta6
../pom.xml
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 5b629db..d4da76f 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
@@ -77,7 +77,7 @@ DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
^(server|micro)$
- 6.2023.12
+ 6.2024.2
true
diff --git a/starter-archetype/src/main/resources/archetype-resources/Dockerfile b/starter-archetype/src/main/resources/archetype-resources/Dockerfile
index b6af041..dbd3eef 100644
--- a/starter-archetype/src/main/resources/archetype-resources/Dockerfile
+++ b/starter-archetype/src/main/resources/archetype-resources/Dockerfile
@@ -2,7 +2,7 @@
#if (${jakartaEEVersion} == '8')
#set ($payaraVersion = "5.2022.5")
#else
-#set ($payaraVersion = "6.2023.8")
+#set ($payaraVersion = "6.2024.2")
#end
#end
#if (${platform} == 'server')
diff --git a/starter-archetype/src/main/resources/archetype-resources/README.md b/starter-archetype/src/main/resources/archetype-resources/README.md
index 955b7d4..2f3bda3 100644
--- a/starter-archetype/src/main/resources/archetype-resources/README.md
+++ b/starter-archetype/src/main/resources/archetype-resources/README.md
@@ -28,7 +28,11 @@ To run the application locally, follow these steps:
#if (${platform} == 'server')
./mvn clean package cargo:run
#else
+#if (${javaVersion} == '8')
./mvn clean package payara-micro:start
+#else
+./mvn clean package payara-micro:dev
+#end
#end
#else
#if (${platform} == 'server')
diff --git a/starter-archetype/src/main/resources/archetype-resources/build.gradle b/starter-archetype/src/main/resources/archetype-resources/build.gradle
index 77cf268..37e2e4b 100644
--- a/starter-archetype/src/main/resources/archetype-resources/build.gradle
+++ b/starter-archetype/src/main/resources/archetype-resources/build.gradle
@@ -15,18 +15,11 @@
#set ($eeArtifactId = "jakarta.jakartaee-api")
#end
#set ($payaraUrlPrefix = "https://repo1.maven.org/maven2/fish/payara/distributions")
-#if (${jakartaEEVersion} == '8')
- #set ($payaraHome = "payara5")
-#else
- #set ($payaraHome = "payara6")
-#end
#if (!${payaraVersion})
#if (${jakartaEEVersion} == '8')
#set ($payaraVersion = "5.2022.5")
- #set ($microprofileVersion = "4.0")
#else
- #set ($payaraVersion = "6.2023.8")
- #set ($microprofileVersion = "5.0")
+ #set ($payaraVersion = "6.2024.2")
#end
#end
#if (${profile} == 'full')
@@ -35,9 +28,11 @@
#set ($payaraUrl = "${payaraUrlPrefix}/payara-web/${payaraVersion}/payara-web-${payaraVersion}.zip")
#end
#if (${jakartaEEVersion} == '8')
-#set ($microprofileVersion = "4.0")
+ #set ($payaraHome = "payara5")
+ #set ($microprofileVersion = "4.1")
#else
-#set ($microprofileVersion = "5.0")
+ #set ($payaraHome = "payara6")
+ #set ($microprofileVersion = "6.1")
#end
plugins {
id 'java'
diff --git a/starter-archetype/src/main/resources/archetype-resources/pom.xml b/starter-archetype/src/main/resources/archetype-resources/pom.xml
index 57e8a16..db2c4f7 100644
--- a/starter-archetype/src/main/resources/archetype-resources/pom.xml
+++ b/starter-archetype/src/main/resources/archetype-resources/pom.xml
@@ -24,7 +24,7 @@
#if (${jakartaEEVersion} == '8')
#set ($payaraVersion = "5.2022.5")
#else
- #set ($payaraVersion = "6.2023.8")
+ #set ($payaraVersion = "6.2024.2")
#end
#end
#if (${profile} == 'full')
@@ -193,7 +193,11 @@
fish.payara.maven.plugins
payara-micro-maven-plugin
+#if (${javaVersion} == '8')
2.0
+#else
+ 2.2
+#end
${payara.version}
#if (${deployWar} == "true")
diff --git a/starter-ui/pom.xml b/starter-ui/pom.xml
index 3b545c2..617a80e 100644
--- a/starter-ui/pom.xml
+++ b/starter-ui/pom.xml
@@ -41,14 +41,14 @@
4.0.0
payara-starter-ui
- 1.0-beta5
+ 1.0-beta6
war
Payara Starter UI
Payara Starter UI
fish.payara.starter
payara-starter-parent
- 1.0-beta5
+ 1.0-beta6
../pom.xml
@@ -123,7 +123,7 @@
org.apache.maven.plugins
maven-compiler-plugin
- 3.8.0
+ 3.11.0
11
@@ -152,7 +152,7 @@
org.apache.maven.plugins
maven-javadoc-plugin
- 3.5.0
+ 3.6.0
attach-javadocs
@@ -162,6 +162,11 @@
+
+ fish.payara.maven.plugins
+ payara-micro-maven-plugin
+ 2.2
+
diff --git a/starter-ui/src/main/java/fish/payara/starter/resources/ApplicationGeneratorResource.java b/starter-ui/src/main/java/fish/payara/starter/resources/ApplicationGeneratorResource.java
index 3bc6551..d6124ce 100644
--- a/starter-ui/src/main/java/fish/payara/starter/resources/ApplicationGeneratorResource.java
+++ b/starter-ui/src/main/java/fish/payara/starter/resources/ApplicationGeneratorResource.java
@@ -86,7 +86,7 @@ public class ApplicationGeneratorResource {
private static final String WORKING_DIR_PREFIX = "payara-starter-";
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-beta5";
+ private static final String ARCHETYPE_VERSION = "1.0-beta6";
private static final String MAVEN_ARCHETYPE_CMD = "archetype:generate";
private static final String ZIP_EXTENSION = ".zip";