Skip to content

Commit c8cacfb

Browse files
committed
upgrading to springboot 3
1 parent 3d60c99 commit c8cacfb

File tree

3 files changed

+17
-13
lines changed

3 files changed

+17
-13
lines changed

.github/workflows/maven.yml

+12-7
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,15 @@ jobs:
1515
runs-on: ubuntu-latest
1616

1717
steps:
18-
- uses: actions/checkout@v2
19-
- name: Set up JDK 15
20-
uses: actions/setup-java@v1
21-
with:
22-
java-version: 15
23-
- name: Build with Maven
24-
run: mvn -B package --file pom.xml
18+
- name: Checkout Project
19+
uses: actions/checkout@v2
20+
21+
- name: Set up JDK
22+
uses: actions/setup-java@v2
23+
with:
24+
java-version: 19
25+
cache: 'maven'
26+
distribution: 'temurin'
27+
28+
- name: Build with Maven
29+
run: mvn -B compile -DskipTests --file pom.xml

.run/RemoteClientApplication.run.xml

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
<component name="ProjectRunConfigurationManager">
22
<configuration default="false" name="RemoteClientApplication" type="SpringBootApplicationConfigurationType" factoryName="Spring Boot">
3-
<module name="cockroachdb-remote-client" />
4-
<option name="SPRING_BOOT_MAIN_CLASS" value="io.crdb.docker.RemoteClientApplication" />
5-
<option name="ENABLE_LAUNCH_OPTIMIZATION" value="false" />
63
<option name="ENABLE_JMX_AGENT" value="false" />
7-
<option name="ALTERNATIVE_JRE_PATH" />
4+
<option name="ENABLE_LAUNCH_OPTIMIZATION" value="false" />
85
<envs>
96
<env name="COCKROACH_HOST" value="localhost:25267" />
107
</envs>
8+
<module name="remote-client" />
9+
<option name="SPRING_BOOT_MAIN_CLASS" value="io.crdb.docker.RemoteClientApplication" />
1110
<method v="2">
1211
<option name="Make" enabled="true" />
1312
</method>

pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>org.springframework.boot</groupId>
88
<artifactId>spring-boot-starter-parent</artifactId>
9-
<version>2.7.6</version>
9+
<version>3.0.0</version>
1010
<relativePath/>
1111
</parent>
1212

@@ -19,7 +19,7 @@
1919

2020
<properties>
2121
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
22-
<java.version>15</java.version>
22+
<java.version>19</java.version>
2323
</properties>
2424

2525
<dependencies>

0 commit comments

Comments
 (0)