From fbe4d241ad7b9548222f81b4cef95d7d55ed5190 Mon Sep 17 00:00:00 2001 From: Jeremy Landis Date: Sun, 17 Oct 2021 01:12:15 -0400 Subject: [PATCH 1/6] [config] Update build config --- .github/workflows/ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f976dd95..b7ab7c24 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -24,7 +24,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macOS-latest, windows-latest] - java: [8, 11, 16, 17-ea] + java: [8, 11, 17, 18-ea] distribution: ['adopt'] fail-fast: false max-parallel: 4 @@ -33,7 +33,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Set up JDK - uses: actions/setup-java@v1 + uses: actions/setup-java@v2 with: java-version: ${{ matrix.java }} distribution: ${{ matrix.distribution }} From b75a56f860345c0ee0241b0bd4d05a26ac1921e5 Mon Sep 17 00:00:00 2001 From: Jeremy Landis Date: Sun, 17 Oct 2021 01:30:01 -0400 Subject: [PATCH 2/6] [config] Update build config --- .github/workflows/ci.yaml | 2 +- .github/workflows/coveralls.yaml | 2 +- .github/workflows/sonar.yaml | 2 +- .github/workflows/sonatype.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b7ab7c24..981092d8 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -25,7 +25,7 @@ jobs: matrix: os: [ubuntu-latest, macOS-latest, windows-latest] java: [8, 11, 17, 18-ea] - distribution: ['adopt'] + 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 98e089ca..8b11b7a9 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 c6023e26..89d6e63a 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_cdi -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 01ec92b8..41b78f5a 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: From ee11499249386b54dfca568c684155eb45184f21 Mon Sep 17 00:00:00 2001 From: Jeremy Landis Date: Mon, 20 Dec 2021 12:01:03 -0500 Subject: [PATCH 3/6] [actions] Try to run profile matrix --- .github/workflows/ci.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 981092d8..6e3a5581 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -26,6 +26,7 @@ jobs: os: [ubuntu-latest, macOS-latest, windows-latest] java: [8, 11, 17, 18-ea] distribution: ['zulu'] + profile: [cdi-1.1, cdi-1.2, cdi-2.0] fail-fast: false max-parallel: 4 name: Test JDK ${{ matrix.java }}, ${{ matrix.os }} @@ -38,4 +39,4 @@ jobs: java-version: ${{ matrix.java }} distribution: ${{ matrix.distribution }} - name: Test with Maven - run: ./mvnw test -B -D"license.skip=true" + run: ./mvnw test -B -D"license.skip=true -P${{ matrix.profile }}" From c4b437566089836215ff36bd7a12eeac6cc1e098 Mon Sep 17 00:00:00 2001 From: Jeremy Landis Date: Mon, 20 Dec 2021 12:22:39 -0500 Subject: [PATCH 4/6] [ci] Drop travis ci --- .travis.yml | 70 ----------------------------------------------------- 1 file changed, 70 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 772d6286..00000000 --- a/.travis.yml +++ /dev/null @@ -1,70 +0,0 @@ -language: java - -matrix: - include: -# 16 - - env: - - JDK='Open JDK 16' - - MAVEN_PROFILE="-Pcdi-2.0" - jdk: openjdk16 - - - env: - - JDK='Open JDK 16' - - MAVEN_PROFILE="-Pcdi-1.2" - jdk: openjdk16 - - - env: - - JDK='Open JDK 16' - - MAVEN_PROFILE="-Pcdi-1.1" - jdk: openjdk16 - -# 15 - - env: - - JDK='Open JDK 15' - - MAVEN_PROFILE="-Pcdi-2.0" - jdk: openjdk15 - - - env: - - JDK='Open JDK 15' - - MAVEN_PROFILE="-Pcdi-1.2" - jdk: openjdk15 - - - env: - - JDK='Open JDK 15' - - MAVEN_PROFILE="-Pcdi-1.1" - jdk: openjdk15 - -# 11 - - env: - - JDK='Open JDK 11' - - MAVEN_PROFILE="-Pcdi-2.0" - jdk: openjdk11 - - - env: - - JDK='Open JDK 11' - - MAVEN_PROFILE="-Pcdi-1.2" - jdk: openjdk11 - - - env: - - JDK='Open JDK 11' - - MAVEN_PROFILE="-Pcdi-1.1" - jdk: openjdk11 - -# 8 - - env: - - JDK='Open JDK 8' - - MAVEN_PROFILE="-Pcdi-2.0" - jdk: openjdk8 - - - env: - - JDK='Open JDK 8' - - MAVEN_PROFILE="-Pcdi-1.2" - jdk: openjdk8 - - - env: - - JDK='Open JDK 8' - - MAVEN_PROFILE="-Pcdi-1.1" - jdk: openjdk8 - -script: - - ./mvnw test -B -V $MAVEN_PROFILE From 9186413f754ab7f08054bd04dc50264295c252a6 Mon Sep 17 00:00:00 2001 From: Jeremy Landis Date: Mon, 20 Dec 2021 12:53:34 -0500 Subject: [PATCH 5/6] [maven] Update maven wrapper to official supported maven version 3.1.0 --- .mvn/extensions.xml | 2 +- .mvn/wrapper/MavenWrapperDownloader.java | 151 +++++++++++++---------- .mvn/wrapper/maven-wrapper.properties | 20 ++- mvnw | 18 ++- mvnw.cmd | 30 +++-- 5 files changed, 137 insertions(+), 84 deletions(-) diff --git a/.mvn/extensions.xml b/.mvn/extensions.xml index 75eb9462..10dcea5f 100644 --- a/.mvn/extensions.xml +++ b/.mvn/extensions.xml @@ -1,7 +1,7 @@