Skip to content

Commit

Permalink
Revert "feat(java): upgrade to java 11"
Browse files Browse the repository at this point in the history
This reverts commit 4d800c5.

#131
  • Loading branch information
Dougniel committed Oct 20, 2022
1 parent 26cb72a commit 96745a0
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/maven-build-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/maven-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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
Expand Down
3 changes: 0 additions & 3 deletions .sdkmanrc

This file was deleted.

9 changes: 7 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</scm>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.release>11</maven.compiler.release>
<java.version>1.8</java.version>
<!-- Dependencies versions -->
<logstash-logback-encoder.version>7.2</logstash-logback-encoder.version>
<spring-context.version>5.3.23</spring-context.version>
Expand All @@ -37,7 +37,7 @@
<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
<maven-failsafe-plugin>2.22.2</maven-failsafe-plugin>
<jacoco-maven-plugin.version>0.8.8</jacoco-maven-plugin.version>

<!-- Sonarcloud analysis -->
<sonar.organization>opt-nc</sonar.organization>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
Expand Down Expand Up @@ -105,10 +105,15 @@

<build>
<plugins>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
</plugin>

<plugin>
Expand Down

0 comments on commit 96745a0

Please sign in to comment.