Skip to content

Commit

Permalink
chore: switch to Quarkus 3.x (JakartaEE) (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
derkoe authored Jul 28, 2023
1 parent 8c1d542 commit c6a215b
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
<maven.compiler.target>11</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<quarkus-plugin.version>2.16.8.Final</quarkus-plugin.version>
<quarkus.platform.version>2.16.8.Final</quarkus.platform.version>
<quarkus-plugin.version>3.2.2.Final</quarkus-plugin.version>
<quarkus.platform.version>3.2.2.Final</quarkus.platform.version>
<surefire-plugin.version>3.1.2</surefire-plugin.version>
<quarkus.container-image.registry>ghcr.io</quarkus.container-image.registry>
<quarkus.container-image.group>derkoe</quarkus.container-image.group>
Expand Down
8 changes: 4 additions & 4 deletions src/main/java/todos/AppResource.java
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package todos;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.core.Response;
import javax.ws.rs.core.Response.Status;
import jakarta.ws.rs.GET;
import jakarta.ws.rs.Path;
import jakarta.ws.rs.core.Response;
import jakarta.ws.rs.core.Response.Status;

@Path("/")
public class AppResource {
Expand Down
10 changes: 5 additions & 5 deletions src/main/java/todos/Todo.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
import java.sql.Timestamp;
import java.util.List;
import java.util.UUID;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.GeneratedValue;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
import org.hibernate.annotations.CreationTimestamp;
import org.jboss.resteasy.annotations.jaxrs.FormParam;

Expand Down
16 changes: 8 additions & 8 deletions src/main/java/todos/TodoResource.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
import io.quarkus.qute.TemplateInstance;
import java.util.List;
import java.util.UUID;
import javax.transaction.Transactional;
import javax.ws.rs.GET;
import javax.ws.rs.HeaderParam;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.core.Response;
import javax.ws.rs.core.Response.Status;
import jakarta.transaction.Transactional;
import jakarta.ws.rs.GET;
import jakarta.ws.rs.HeaderParam;
import jakarta.ws.rs.POST;
import jakarta.ws.rs.Path;
import jakarta.ws.rs.PathParam;
import jakarta.ws.rs.core.Response;
import jakarta.ws.rs.core.Response.Status;
import org.jboss.resteasy.annotations.Form;

@Path("/todos")
Expand Down

0 comments on commit c6a215b

Please sign in to comment.