diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 361336c1..b09f468c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -24,8 +24,8 @@ jobs: strategy: matrix: os: [ubuntu-latest, macOS-latest, windows-latest] - java: [8, 11, 16, 17-ea] - distribution: ['adopt'] + java: [8, 11, 17, 18-ea] + distribution: ['zulu'] fail-fast: false max-parallel: 4 name: Test JDK ${{ matrix.java }}, ${{ matrix.os }} diff --git a/.github/workflows/coveralls.yaml b/.github/workflows/coveralls.yaml index d8f0296b..b24bcbda 100644 --- a/.github/workflows/coveralls.yaml +++ b/.github/workflows/coveralls.yaml @@ -28,7 +28,7 @@ jobs: uses: actions/setup-java@v2 with: java-version: 8 - distribution: adopt + distribution: zulu - name: Report Coverage to Coveralls for Pull Requests if: github.event_name == 'pull_request' run: ./mvnw test jacoco:report coveralls:report -q -Dlicense.skip=true -DrepoToken=$GITHUB_TOKEN -DserviceName=github -DpullRequest=$PR_NUMBER diff --git a/.github/workflows/sonar.yaml b/.github/workflows/sonar.yaml index 1c81d93d..ca4aa2a5 100644 --- a/.github/workflows/sonar.yaml +++ b/.github/workflows/sonar.yaml @@ -34,7 +34,7 @@ jobs: uses: actions/setup-java@v2 with: java-version: 11 - distribution: adopt + distribution: zulu - name: Analyze with SonarCloud run: ./mvnw verify jacoco:report sonar:sonar -B -Dsonar.projectKey=mybatis_spring-boot-starter -Dsonar.organization=mybatis -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=$SONAR_TOKEN -Dlicense.skip=true env: diff --git a/.github/workflows/sonatype.yaml b/.github/workflows/sonatype.yaml index 35f07a7d..10fb6562 100644 --- a/.github/workflows/sonatype.yaml +++ b/.github/workflows/sonatype.yaml @@ -31,7 +31,7 @@ jobs: uses: actions/setup-java@v2 with: java-version: 11 - distribution: adopt + distribution: zulu - name: Deploy to Sonatype run: ./mvnw deploy -DskipTests -B --settings ./.mvn/settings.xml -Dlicense.skip=true env: diff --git a/.github/workflows/support.yaml b/.github/workflows/support.yaml index 4b21859f..6dfb9be9 100644 --- a/.github/workflows/support.yaml +++ b/.github/workflows/support.yaml @@ -25,7 +25,7 @@ jobs: matrix: os: [ubuntu-latest, macOS-latest] java: [8] - distribution: ['adopt'] + distribution: ['zulu'] fail-fast: false max-parallel: 4 name: Test JDK ${{ matrix.java }}, ${{ matrix.os }} diff --git a/.mvn/wrapper/maven-wrapper.properties b/.mvn/wrapper/maven-wrapper.properties index ffdc10e5..a9f1ef87 100644 --- a/.mvn/wrapper/maven-wrapper.properties +++ b/.mvn/wrapper/maven-wrapper.properties @@ -1,2 +1,2 @@ -distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.1/apache-maven-3.8.1-bin.zip +distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.3/apache-maven-3.8.3-bin.zip wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar diff --git a/mybatis-spring-boot-samples/mybatis-spring-boot-sample-war/pom.xml b/mybatis-spring-boot-samples/mybatis-spring-boot-sample-war/pom.xml index 88e0c5d3..3c4c3966 100644 --- a/mybatis-spring-boot-samples/mybatis-spring-boot-sample-war/pom.xml +++ b/mybatis-spring-boot-samples/mybatis-spring-boot-sample-war/pom.xml @@ -27,8 +27,20 @@ war mybatis-spring-boot-sample-war + 9.0.54 + org.mybatis.spring.boot.sample.war + + + + org.apache.tomcat + tomcat + ${tomcat.version} + zip + + + org.springframework.boot @@ -74,15 +86,15 @@ org.codehaus.cargo - cargo-maven2-plugin - 1.8.5 + cargo-maven3-plugin + 1.9.8 org.codehaus.cargo - cargo-maven2-plugin + cargo-maven3-plugin start-container @@ -110,7 +122,7 @@ tomcat9x - https://archive.apache.org/dist/tomcat/tomcat-9/v9.0.55/bin/apache-tomcat-9.0.55.zip + https://archive.apache.org/dist/tomcat/tomcat-9/v${tomcat.version}/bin/apache-tomcat-${tomcat.version}.zip diff --git a/pom.xml b/pom.xml index 5f71ad59..68ea2d9b 100644 --- a/pom.xml +++ b/pom.xml @@ -131,22 +131,22 @@ org.mybatis.spring.boot mybatis-spring-boot-autoconfigure - 2.2.1-SNAPSHOT + ${project.version} org.mybatis.spring.boot mybatis-spring-boot-starter - 2.2.1-SNAPSHOT + ${project.version} org.mybatis.spring.boot mybatis-spring-boot-test-autoconfigure - 2.2.1-SNAPSHOT + ${project.version} org.mybatis.spring.boot mybatis-spring-boot-starter-test - 2.2.1-SNAPSHOT + ${project.version} org.springframework.boot