diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 09cb477..08a3531 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: uses: actions/setup-java@v3 with: distribution: 'temurin' - java-version: '11' + java-version: '17' cache: 'maven' server-id: github settings-path: ${{ github.workspace }}/.mvn/ diff --git a/.github/workflows/daily.yml b/.github/workflows/daily.yml index 27ee201..421f8c9 100644 --- a/.github/workflows/daily.yml +++ b/.github/workflows/daily.yml @@ -20,7 +20,7 @@ jobs: uses: actions/setup-java@v3 with: distribution: 'temurin' - java-version: '11' + java-version: '17' cache: 'maven' server-id: github settings-path: ${{ github.workspace }}/.mvn/ diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 43a8088..63ccf4d 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -18,7 +18,7 @@ jobs: uses: actions/setup-java@v3 with: distribution: 'temurin' - java-version: '11' + java-version: '17' cache: 'maven' settings-path: ${{ github.workspace }}/.mvn/ diff --git a/.mvn/jvm.config b/.mvn/jvm.config new file mode 100644 index 0000000..32599ce --- /dev/null +++ b/.mvn/jvm.config @@ -0,0 +1,10 @@ +--add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED +--add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED +--add-exports jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED +--add-exports jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED +--add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED +--add-exports jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED +--add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED +--add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED +--add-opens jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED +--add-opens jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED diff --git a/application/src/main/java/net/ssimmie/todos/application/port/in/CreateChecklistCommand.java b/application/src/main/java/net/ssimmie/todos/application/port/in/CreateChecklistCommand.java index 488e186..a6e8322 100644 --- a/application/src/main/java/net/ssimmie/todos/application/port/in/CreateChecklistCommand.java +++ b/application/src/main/java/net/ssimmie/todos/application/port/in/CreateChecklistCommand.java @@ -1,9 +1,9 @@ package net.ssimmie.todos.application.port.in; -import javax.validation.ConstraintViolationException; -import javax.validation.Validation; -import javax.validation.Validator; -import javax.validation.constraints.NotBlank; +import jakarta.validation.ConstraintViolationException; +import jakarta.validation.Validation; +import jakarta.validation.Validator; +import jakarta.validation.constraints.NotBlank; public class CreateChecklistCommand { diff --git a/application/src/test/java/net/ssimmie/todos/application/adapter/in/web/ChecklistsResourceTest.java b/application/src/test/java/net/ssimmie/todos/application/adapter/in/web/ChecklistsResourceTest.java index 82b123a..b917b92 100644 --- a/application/src/test/java/net/ssimmie/todos/application/adapter/in/web/ChecklistsResourceTest.java +++ b/application/src/test/java/net/ssimmie/todos/application/adapter/in/web/ChecklistsResourceTest.java @@ -6,7 +6,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue; import static org.springframework.http.HttpStatus.CREATED; -import javax.validation.ConstraintViolationException; +import jakarta.validation.ConstraintViolationException; import org.junit.jupiter.api.Test; import org.springframework.hateoas.EntityModel; import org.springframework.hateoas.Link; diff --git a/application/src/test/java/net/ssimmie/todos/application/port/in/CreateChecklistCommandTest.java b/application/src/test/java/net/ssimmie/todos/application/port/in/CreateChecklistCommandTest.java index 5af48dd..93ceff1 100644 --- a/application/src/test/java/net/ssimmie/todos/application/port/in/CreateChecklistCommandTest.java +++ b/application/src/test/java/net/ssimmie/todos/application/port/in/CreateChecklistCommandTest.java @@ -5,7 +5,7 @@ import static org.assertj.core.api.Assertions.assertThatThrownBy; import com.jparams.verifier.tostring.ToStringVerifier; -import javax.validation.ConstraintViolationException; +import jakarta.validation.ConstraintViolationException; import org.junit.jupiter.api.Test; class CreateChecklistCommandTest { diff --git a/pom.xml b/pom.xml index 5ff938a..03dc99d 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ org.springframework.boot spring-boot-starter-parent - 2.7.5 + 3.0.2 net.ssimmie @@ -112,6 +112,7 @@ 1.5.1 1.2.2 3.10.1 + 2.18.0 2.9.4 0.8.8 1.3.7 @@ -238,7 +239,7 @@ com.google.errorprone error_prone_core - 2.3.4 + ${error-prone.version}