Skip to content

Commit

Permalink
Fixes #191 - Update to Jakarta EE 11 (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
mnriem authored Oct 29, 2024
1 parent 89583de commit 565efdc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/main/java/start/ProjectZipBean.java
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ private String getDependenciesForPomXml(StartModel model) {
<dependency>
<groupId>jakarta.platform</groupId>
<artifactId>jakarta.jakartaee-web-api</artifactId>
<version>10.0.0</version>
<version>11.0.0-M4</version>
<scope>provided</scope>
</dependency>
""");
Expand All @@ -100,7 +100,7 @@ private String getDependenciesForPomXml(StartModel model) {
<dependency>
<groupId>jakarta.platform</groupId>
<artifactId>jakarta.jakartaee-web-api</artifactId>
<version>10.0.0</version>
<version>11.0.0-M4</version>
<scope>provided</scope>
</dependency>
""");
Expand All @@ -110,7 +110,7 @@ private String getDependenciesForPomXml(StartModel model) {
<dependency>
<groupId>cloud.piranha</groupId>
<artifactId>piranha-embedded</artifactId>
<version>24.8.0</version>
<version>24.10.0</version>
<scope>compile</scope>
</dependency>
""");
Expand All @@ -120,7 +120,7 @@ private String getDependenciesForPomXml(StartModel model) {
<dependency>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
<version>6.0.0</version>
<version>6.1.0</version>
<scope>provided</scope>
</dependency>
""");
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/start/StartBean.java
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,8 @@ public SelectItem[] getPackagings() {
public SelectItem[] getProfiles() {
return new SelectItem[]{
new SelectItem("none", "None"),
new SelectItem("coreprofile", "Jakarta Core Profile 10"),
new SelectItem("webprofile", "Jakarta Web Profile 10")
new SelectItem("coreprofile", "Jakarta Core Profile 11"),
new SelectItem("webprofile", "Jakarta Web Profile 11")
};
}

Expand Down

0 comments on commit 565efdc

Please sign in to comment.