Skip to content

Commit 48e57e4

Browse files
committed
Add Thorntail as MP 3.2
1 parent 3b24ff0 commit 48e57e4

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

src/main/java/org/eclipse/microprofile/starter/addon/microprofile/servers/model/SupportedServer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public enum SupportedServer {
3939
)
4040
, THORNTAIL_V2("thorntail-v2", "Thorntail V2",
4141
Arrays.asList(MicroProfileVersion.MP12, MicroProfileVersion.MP13, MicroProfileVersion.MP21,
42-
MicroProfileVersion.MP22, MicroProfileVersion.MP30)
42+
MicroProfileVersion.MP22, MicroProfileVersion.MP30, MicroProfileVersion.MP32)
4343
, "%s-thorntail.jar" //jarFileName
4444
, "-Dswarm.port.offset=100" //jarParameters
4545
, "8080" //portServiceA

src/main/java/org/eclipse/microprofile/starter/addon/microprofile/servers/server/ThorntailServer.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ public void adaptMavenModel(Model pomFile, JessieModel model, boolean mainProjec
8080

8181
case NONE:
8282
break;
83+
case MP32:
84+
thorntailVersion = "2.6.0.Final";
85+
break;
8386
case MP30:
8487
thorntailVersion = "2.5.0.Final";
8588
break;

src/main/java/org/eclipse/microprofile/starter/core/model/MicroProfileVersion.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public enum MicroProfileVersion {
3232
// Order is important as it determines the order in the Dropdown on the screen.
3333
// @formatter:off
3434
NONE(null, "")
35-
, MP32("3.2", "MP 3.2")
35+
, MP32("3.2", "MP 3.2", Collections.singletonList(Constants.MP3X_ALTERNATIVE))
3636
, MP30("3.0", "MP 3.0", Collections.singletonList(Constants.MP3X_ALTERNATIVE))
3737
, MP22("2.2", "MP 2.2")
3838
, MP21("2.1", "MP 2.1")

0 commit comments

Comments
 (0)