Skip to content

Commit

Permalink
Upgrade to latest Spring and include needed classes
Browse files Browse the repository at this point in the history
sfdads
  • Loading branch information
aureamunoz committed Apr 25, 2024
1 parent b12c345 commit 163b8f3
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/mvn-build.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
name: "CI - JDK 11 Build"
name: "CI - JDK 17 Build"

on:
push:
branches: [ master ]
branches: [ main ]
pull_request:
branches: [ master ]
branches: [ main ]


jobs:
build-jdk11:
name: "JDK 11 Build"
build-jdk17:
name: "JDK 17 Build"
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 11
java-version: 17
- name: Build
run: mvn clean install

2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<maven-javadoc-plugin.version>3.1.1</maven-javadoc-plugin.version>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<spring-framework.version>5.2.20.RELEASE</spring-framework.version>
<spring-framework.version>6.1.6</spring-framework.version>
</properties>

<packaging>pom</packaging>
Expand Down
3 changes: 3 additions & 0 deletions quarkus-spring-web-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,10 @@
<include>org/springframework/http/HttpStatus**</include>
<include>org/springframework/http/HttpMethod**</include>
<include>org/springframework/http/ResponseEntity**</include>
<include>org/springframework/http/ProblemDetail**</include>
<include>org/springframework/web/SpringServletContainerInitializer**</include>
<include>org/springframework/web/ErrorResponseException**</include>
<include>org/springframework/web/ErrorResponse**</include>
<include>org/springframework/web/context/annotation/RequestScope**</include>
<include>org/springframework/web/bind/annotation/CookieValue**</include>
<include>org/springframework/web/bind/annotation/DeleteMapping**</include>
Expand Down

0 comments on commit 163b8f3

Please sign in to comment.