Skip to content

Commit

Permalink
Merge pull request #134 from groldan/dependency/springboot
Browse files Browse the repository at this point in the history
Upgrade to Java 21 and update dependencies
  • Loading branch information
groldan authored Jul 13, 2024
2 parents 1474c16 + 8beee0d commit 8f633e6
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '11'
java-version: '21'
cache: 'maven'

- name: Initialize CodeQL
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '11'
java-version: '21'
cache: 'maven'

- name: "Build gateway"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '11'
java-version: '21'
cache: 'maven'

- name: "Build gateway"
Expand Down
6 changes: 3 additions & 3 deletions gateway/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<name>gateway</name>
<description>geOrchestra application gateway</description>
<properties>
<java.version>11</java.version>
<java.version>21</java.version>
<imageTag>${project.version}</imageTag>
<spring-boot.build-image.imageName>georchestra/gateway:${imageTag}</spring-boot.build-image.imageName>
</properties>
Expand Down Expand Up @@ -123,7 +123,7 @@
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<version>20230618</version>
<version>20240303</version>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
Expand Down Expand Up @@ -194,7 +194,7 @@
<configuration>
<rules>
<requireJavaVersion>
<version>[11,)</version>
<version>[${java.version},)</version>
</requireJavaVersion>
<requireMavenVersion>
<version>[3.6.3,)</version>
Expand Down
22 changes: 19 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.7.12</version>
<version>2.7.18</version>
<relativePath></relativePath>
<!-- lookup parent from repository -->
</parent>
Expand All @@ -19,7 +19,7 @@
<properties>
<revision>1.0.1-SNAPSHOT</revision>
<georchestra.version>24.0.1-SNAPSHOT</georchestra.version>
<spring-cloud.version>2021.0.7</spring-cloud.version>
<spring-cloud.version>2021.0.9</spring-cloud.version>
<formatter-maven-plugin.version>2.10.0</formatter-maven-plugin.version>
<fmt.skip>false</fmt.skip>
<fmt.action>format</fmt.action>
Expand All @@ -28,10 +28,26 @@
<pom.fmt.skip>${fmt.skip}</pom.fmt.skip>
<imageTag>${project.version}</imageTag>
<spring-boot.build-image.imageName>georchestra/gateway:${imageTag}</spring-boot.build-image.imageName>
<lombok.version>1.18.30</lombok.version>
<lombok.version>1.18.34</lombok.version>
<logback.version>1.2.13</logback.version>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.yaml</groupId>
<artifactId>snakeyaml</artifactId>
<version>2.2</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<version>${logback.version}</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>${logback.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
Expand Down

0 comments on commit 8f633e6

Please sign in to comment.