diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 5177dca7..a86797bc 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,5 +1,5 @@ # -# Copyright 2015-2022 the original author or authors. +# Copyright 2015-2023 the original author or authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -24,14 +24,14 @@ jobs: strategy: matrix: os: [ubuntu-latest, macOS-latest, windows-latest] - java: [11, 17, 19, 20-ea] + java: [11, 17, 21] distribution: ['zulu'] fail-fast: false max-parallel: 5 name: Test JDK ${{ matrix.java }}, ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up JDK uses: actions/setup-java@v3 with: diff --git a/.github/workflows/coveralls.yaml b/.github/workflows/coveralls.yaml index e58eac82..cb667f63 100644 --- a/.github/workflows/coveralls.yaml +++ b/.github/workflows/coveralls.yaml @@ -1,5 +1,5 @@ # -# Copyright 2015-2020 the original author or authors. +# Copyright 2015-2023 the original author or authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -23,7 +23,7 @@ jobs: if: github.repository_owner == 'mybatis' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up JDK uses: actions/setup-java@v3 with: diff --git a/.github/workflows/sonar.yaml b/.github/workflows/sonar.yaml index b0dab7eb..e9f21976 100644 --- a/.github/workflows/sonar.yaml +++ b/.github/workflows/sonar.yaml @@ -1,5 +1,5 @@ # -# Copyright 2015-2020 the original author or authors. +# Copyright 2015-2023 the original author or authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -19,14 +19,14 @@ name: SonarCloud on: push: branches: - - master + - 2.3.x jobs: build: if: github.repository_owner == 'mybatis' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: # Disabling shallow clone is recommended for improving relevancy of reporting fetch-depth: 0 diff --git a/.github/workflows/sonatype.yaml b/.github/workflows/sonatype.yaml index fa4a4a7f..c29fc997 100644 --- a/.github/workflows/sonatype.yaml +++ b/.github/workflows/sonatype.yaml @@ -1,5 +1,5 @@ # -# Copyright 2015-2020 the original author or authors. +# Copyright 2015-2023 the original author or authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -19,14 +19,14 @@ name: Sonatype on: push: branches: - - master + - 2.3.x jobs: build: if: github.repository_owner == 'mybatis' && ! contains(toJSON(github.event.head_commit.message), '[maven-release-plugin]') runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up JDK uses: actions/setup-java@v3 with: diff --git a/.github/workflows/support.yaml b/.github/workflows/support.yaml index 48284d9e..a871342e 100644 --- a/.github/workflows/support.yaml +++ b/.github/workflows/support.yaml @@ -1,5 +1,5 @@ # -# Copyright 2015-2022 the original author or authors. +# Copyright 2015-2023 the original author or authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -23,15 +23,15 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest, macOS-latest] - java: [11, 17, 19, 20-ea] + os: [ubuntu-latest, macOS-latest, windows-latest] + java: [11, 17, 21] distribution: ['zulu'] fail-fast: false max-parallel: 5 name: Test JDK ${{ matrix.java }}, ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up JDK uses: actions/setup-java@v3 with: diff --git a/README.md b/README.md index 3805e4d4..636485f7 100644 --- a/README.md +++ b/README.md @@ -12,16 +12,12 @@ MyBatis Spring-Boot-Starter will help you to use MyBatis with Spring Boot ## Requirements -* 3.x : MyBatis 3.5+, MyBatis-Spring 3.0, Java 17+ and Spring Boot 3.0 **not release yet** -* master(2.3.x) : MyBatis 3.5+, MyBatis-Spring 2.1, Java 8+ and Spring Boot 2.5-2.7 **not release yet** -* 2.2.x : MyBatis 3.5+, MyBatis-Spring 2.0+(2.0.6+ recommended), Java 8+ and Spring Boot 2.5-2.7 -* 2.1.x : MyBatis 3.5+, MyBatis-Spring 2.0+(2.0.6+ recommended), Java 8+ and Spring Boot ~~2.1-2.4~~ 2.4 -* ~~2.0.x : (EOL) MyBatis 3.5+, MyBatis-Spring 2.0+, Java 8+ and Spring Boot 2.0/2.1.~~ -* ~~1.3.x : (EOL) MyBatis 3.4+, MyBatis-Spring 1.3+, Java 6+ and Spring Boot 1.5~~ +* 3.x : MyBatis 3.5+, MyBatis-Spring 3.0, Java 17+ and Spring Boot 3.0-3.1(Not release yet) +* master(2.3.x) : MyBatis 3.5+, MyBatis-Spring 2.1, Java 8+ and Spring Boot 2.5-2.7 ## Compatibility Check -* Compatibility with Spring Boot 2.4 - 3.0 [here](https://github.com/kazuki43zoo/mybatis-spring-boot-dev-compatibility-checker) +* Compatibility with Spring Boot 2.5 - 3.1 [here](https://github.com/kazuki43zoo/mybatis-spring-boot-dev-compatibility-checker) ## Essentials @@ -32,13 +28,13 @@ MyBatis Spring-Boot-Starter will help you to use MyBatis with Spring Boot ### Snapshot documentations -* [See the docs](https://github.com/mybatis/spring-boot-starter/blob/master/mybatis-spring-boot-autoconfigure/src/site/markdown/index.md) -* [See the docs for testing](https://github.com/mybatis/spring-boot-starter/blob/master/mybatis-spring-boot-test-autoconfigure/src/site/markdown/index.md) +* [See the docs](https://github.com/mybatis/spring-boot-starter/blob/2.3.x/mybatis-spring-boot-autoconfigure/src/site/markdown/index.md) +* [See the docs for testing](https://github.com/mybatis/spring-boot-starter/blob/2.3.x/mybatis-spring-boot-test-autoconfigure/src/site/markdown/index.md) Translations: -* [See the docs(简体中文)](https://github.com/mybatis/spring-boot-starter/blob/master/mybatis-spring-boot-autoconfigure/src/site/zh/markdown/index.md) -* [See the docs for testing(简体中文)](https://github.com/mybatis/spring-boot-starter/blob/master/mybatis-spring-boot-test-autoconfigure/src/site/zh/markdown/index.md) +* [See the docs(简体中文)](https://github.com/mybatis/spring-boot-starter/blob/2.3.x/mybatis-spring-boot-autoconfigure/src/site/zh/markdown/index.md) +* [See the docs for testing(简体中文)](https://github.com/mybatis/spring-boot-starter/blob/2.3.x/mybatis-spring-boot-test-autoconfigure/src/site/zh/markdown/index.md) ## Quick Start diff --git a/mybatis-spring-boot-autoconfigure/pom.xml b/mybatis-spring-boot-autoconfigure/pom.xml index f10f4170..76fafbfe 100644 --- a/mybatis-spring-boot-autoconfigure/pom.xml +++ b/mybatis-spring-boot-autoconfigure/pom.xml @@ -1,7 +1,7 @@ diff --git a/mybatis-spring-boot-samples/mybatis-spring-boot-sample-kotlin/pom.xml b/mybatis-spring-boot-samples/mybatis-spring-boot-sample-kotlin/pom.xml index 232df203..6026dec2 100644 --- a/mybatis-spring-boot-samples/mybatis-spring-boot-sample-kotlin/pom.xml +++ b/mybatis-spring-boot-samples/mybatis-spring-boot-sample-kotlin/pom.xml @@ -1,7 +1,7 @@ - 1757561022 + 1700914469 - - - ${project.basedir}/src/main/resources - true - - - ${project.basedir}/src/site - ${project.build.directory}/site-src - true - - + + org.apache.maven.plugins + maven-resources-plugin + + + + filter-site + pre-site + + copy-resources + + + ${project.build.directory}/site-src + + + src/site + true + + + + + + org.apache.maven.plugins maven-site-plugin en,zh_CN - ${project.build.directory}/site-src - - org.apache.maven.plugins - maven-surefire-plugin -