Skip to content

Commit

Permalink
Merge pull request #160 from teixeira-fernando/updating-java-version
Browse files Browse the repository at this point in the history
Upgrading project to java jdk 17
  • Loading branch information
teixeira-fernando authored Oct 22, 2023
2 parents 94c2eab + 944866d commit 8446cec
Show file tree
Hide file tree
Showing 12 changed files with 256 additions and 251 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/PR-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
steps:
- name: Download repository
uses: actions/checkout@v4
- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 11
java-version: 17
distribution: 'adopt'
- name: Cache Maven packages
uses: actions/cache@v3
Expand Down Expand Up @@ -46,10 +46,10 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 11
java-version: 17
distribution: 'adopt'
- name: Cache SonarCloud packages
uses: actions/cache@v3
Expand Down Expand Up @@ -83,10 +83,10 @@ jobs:
steps:
- name: Download repository
uses: actions/checkout@v4
- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 11
java-version: 17
distribution: 'adopt'
- name: Cache
uses: actions/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/maven-packages-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 11
java-version: 17
distribution: 'adopt'
- name: maven install
run: mvn clean install
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
steps:
- name: Download repository
uses: actions/checkout@v4
- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 11
java-version: 17
distribution: 'adopt'
- name: Cache Maven packages
uses: actions/cache@v3
Expand Down Expand Up @@ -78,10 +78,10 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 11
java-version: 17
distribution: 'adopt'
- name: Cache SonarCloud packages
uses: actions/cache@v3
Expand All @@ -108,10 +108,10 @@ jobs:
steps:
- name: Download repository
uses: actions/checkout@v4
- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 11
java-version: 17
distribution: 'adopt'
- name: Cache Maven packages
uses: actions/cache@v3
Expand Down Expand Up @@ -152,10 +152,10 @@ jobs:
steps:
- name: Download repository
uses: actions/checkout@v4
- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 11
java-version: 17
distribution: 'adopt'
- name: Cache
uses: actions/[email protected]
Expand Down
8 changes: 4 additions & 4 deletions base-domain/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<dependency>
<artifactId>spring-boot-starter-data-mongodb</artifactId>
<groupId>org.springframework.boot</groupId>
<version>2.7.14</version>
<version>3.1.2</version>
</dependency>
<dependency>
<artifactId>de.flapdoodle.embed.mongo</artifactId>
Expand All @@ -73,9 +73,9 @@
</distributionManagement>

<properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<java.version>11</java.version>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<java.version>17</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.plugin.validation>VERBOSE</maven.plugin.validation>
<revision>1.0.0-SNAPSHOT</revision>
Expand Down
Loading

0 comments on commit 8446cec

Please sign in to comment.