Skip to content

Commit

Permalink
#2002 - upgrade to latest springboot 3 and jdk 19
Browse files Browse the repository at this point in the history
  • Loading branch information
rmmayo committed Mar 3, 2023
1 parent a787573 commit 12440d6
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 35 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test-email-confirmation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:

- uses: actions/setup-java@v1
with:
java-version: '18' # The JDK version to make available on the path.
java-version: '19' # The JDK version to make available on the path.

- name: Print Versions
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test-night-service-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '18' # The JDK version to make available on the path.
java-version: '19' # The JDK version to make available on the path.

- name: Print Versions
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-and-test-oauth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:

- uses: actions/setup-java@v1
with:
java-version: '18' # The JDK version to make available on the path.
java-version: '19' # The JDK version to make available on the path.

- name: Print Versions
run: |
Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:

- uses: actions/setup-java@v1
with:
java-version: '18' # The JDK version to make available on the path.
java-version: '19' # The JDK version to make available on the path.

- name: Print Versions
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-and-test-postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:

- uses: actions/setup-java@v1
with:
java-version: '18' # The JDK version to make available on the path.
java-version: '19' # The JDK version to make available on the path.

- name: Print Versions
run: |
Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:

- uses: actions/setup-java@v1
with:
java-version: '18' # The JDK version to make available on the path.
java-version: '19' # The JDK version to make available on the path.

- name: Print Versions
run: |
Expand Down Expand Up @@ -156,7 +156,7 @@ jobs:

- uses: actions/setup-java@v1
with:
java-version: '18' # The JDK version to make available on the path.
java-version: '19' # The JDK version to make available on the path.

- name: Print Versions
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test-rabbitmq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:

- uses: actions/setup-java@v1
with:
java-version: '18' # The JDK version to make available on the path.
java-version: '19' # The JDK version to make available on the path.

- name: Print Versions
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test-ssl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:

- uses: actions/setup-java@v1
with:
java-version: '18' # The JDK version to make available on the path.
java-version: '19' # The JDK version to make available on the path.

- name: Print Versions
run: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '18' # The JDK version to make available on the path.
java-version: '19' # The JDK version to make available on the path.

- name: Print Versions
run: |
Expand Down Expand Up @@ -126,11 +126,11 @@ jobs:
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '18' # The JDK version to make available on the path.
java-version: '19' # The JDK version to make available on the path.

- uses: s4u/[email protected]
with:
java-version: '18' # The JDK version to make available on the path.
java-version: '19' # The JDK version to make available on the path.

- name: Print Versions
run: |
Expand Down Expand Up @@ -220,7 +220,7 @@ jobs:
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '18' # The JDK version to make available on the path.
java-version: '19' # The JDK version to make available on the path.

- name: Print Versions
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/generate-lighthouse-score.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:

- uses: actions/setup-java@v1
with:
java-version: '18' # The JDK version to make available on the path.
java-version: '19' # The JDK version to make available on the path.

- name: Print Versions
run: |
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM eclipse-temurin:18.0.2.1_1-jdk-jammy
FROM eclipse-temurin:19-jdk-jammy

# install netcat so start script can use nc command to wait for DB to come up
RUN apt-get update && apt-get install -y \
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<!--suppress UnresolvedMavenProperty -->
<nexusServer>${nexus.url}</nexusServer>
<main.basedir>${project.basedir}</main.basedir>
<java.version>17</java.version>
<java.version>19</java.version>

<!-- can NOT name it groovy.version as spock's dependency picks it up-->
<groovy.version>4.0.7</groovy.version>
Expand All @@ -38,7 +38,7 @@
<guava.version>29.0-jre</guava.version>

<!-- !!!!!IMPORTANT!!!!!: when changing the springboot.version property, make sure you also change it in the spring-boot-starter-parent definition -->
<springboot.version>3.0.2</springboot.version>
<springboot.version>3.0.3</springboot.version>

<greenmail.version>2.0.0-alpha-3</greenmail.version>
<wiremock.version>2.27.2</wiremock.version>
Expand All @@ -57,7 +57,7 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<!-- !!!!!IMPORTANT!!!!!: when changing this version make sure to also update springboot.version property -->
<version>3.0.2</version>
<version>3.0.3</version>
<relativePath/>
</parent>

Expand Down
18 changes: 1 addition & 17 deletions service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -91,23 +91,19 @@
<dependency>
<groupId>org.apache.groovy</groupId>
<artifactId>groovy</artifactId>
<!-- <version>${groovy.version}</version>-->
</dependency>

<dependency>
<groupId>org.apache.groovy</groupId>
<artifactId>groovy-datetime</artifactId>
<!-- <version>${groovy.version}</version>-->
</dependency>
<dependency>
<groupId>org.apache.groovy</groupId>
<artifactId>groovy-dateutil</artifactId>
<!-- <version>${groovy.version}</version>-->
</dependency>
<dependency>
<groupId>org.apache.groovy</groupId>
<artifactId>groovy-json</artifactId>
<!-- <version>${groovy.version}</version>-->
</dependency>

<dependency>
Expand Down Expand Up @@ -209,13 +205,6 @@
<scope>test</scope>
</dependency>

<!-- <dependency>-->
<!-- <groupId>org.apache.groovy</groupId>-->
<!-- <artifactId>groovy</artifactId>-->
<!-- <version>${groovy.version}</version>-->
<!-- <scope>test</scope>-->
<!-- </dependency>-->

<dependency>
<groupId>dev.skilltreeplatform</groupId>
<artifactId>call-stack-profiler</artifactId>
Expand Down Expand Up @@ -298,11 +287,6 @@
<version>${wiremock.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.groovy</groupId>
<artifactId>groovy</artifactId>
</dependency>

<dependency>
<groupId>org.owasp.encoder</groupId>
<artifactId>encoder</artifactId>
Expand Down Expand Up @@ -381,7 +365,7 @@
<plugin>
<groupId>org.codehaus.gmavenplus</groupId>
<artifactId>gmavenplus-plugin</artifactId>
<version>1.13.1</version>
<version>2.1.0</version>
<configuration>
<sources>
<source>
Expand Down

0 comments on commit 12440d6

Please sign in to comment.