diff --git a/.github/workflows/maven-build-pull-request.yml b/.github/workflows/maven-build-pull-request.yml index 75a1563..58d23fa 100644 --- a/.github/workflows/maven-build-pull-request.yml +++ b/.github/workflows/maven-build-pull-request.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java: [ '11', '17' ] + java: [ '8', '17' ] steps: - uses: actions/checkout@v3 - name: Set up JDK ${{ matrix.Java }} diff --git a/.github/workflows/maven-build.yml b/.github/workflows/maven-build.yml index 121565c..ea1d12e 100644 --- a/.github/workflows/maven-build.yml +++ b/.github/workflows/maven-build.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java: ['11','17' ] + java: [ '8','11','17' ] steps: - uses: actions/checkout@v3 - name: Set up JDK ${{ matrix.Java }} @@ -31,10 +31,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Set up JDK 11 + - name: Set up JDK 8 uses: actions/setup-java@v3 with: - java-version: 11 + java-version: 8 distribution: 'adopt' cache: 'maven' - name: Semantic Release diff --git a/.sdkmanrc b/.sdkmanrc deleted file mode 100644 index 5e3af57..0000000 --- a/.sdkmanrc +++ /dev/null @@ -1,3 +0,0 @@ -# Enable auto-env through the sdkman_auto_env config -# Add key=value pairs of SDKs to use below -java=11.0.10.9.1-qamzn diff --git a/pom.xml b/pom.xml index 6c7da58..02dc3f6 100644 --- a/pom.xml +++ b/pom.xml @@ -23,7 +23,7 @@ UTF-8 - 11 + 1.8 7.2 5.3.23 @@ -37,7 +37,7 @@ 2.22.2 2.22.2 0.8.8 - + opt-nc https://sonarcloud.io @@ -105,10 +105,15 @@ + org.apache.maven.plugins maven-compiler-plugin ${maven-compiler-plugin.version} + + ${java.version} + ${java.version} +