Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Java version to 17 and JEE to 9 #658

Open
wants to merge 400 commits into
base: master
Choose a base branch
from
Open

Update Java version to 17 and JEE to 9 #658

wants to merge 400 commits into from

Conversation

dkfellows
Copy link
Member

@dkfellows dkfellows commented Nov 28, 2022

This is the migration process where we adopt new language and library features, as well as updating the JEE profile. We're not stopping off at 14 on the way because Spring and Jakarta are going to force the larger stride.

The update to JEE 9 includes Spring/Spring Boot 6 and CXF 4. Those require Java 17.

@dkfellows dkfellows added enhancement New feature or request experimental Do not commit this PR yet! labels Nov 28, 2022
@dkfellows dkfellows added this to the Bluesky milestone Nov 28, 2022
@dkfellows dkfellows self-assigned this Nov 28, 2022
@dkfellows dkfellows mentioned this pull request Jan 3, 2023
@dkfellows dkfellows modified the milestones: Bluesky, Java 17 Feb 7, 2023
@dkfellows dkfellows removed the experimental Do not commit this PR yet! label Feb 7, 2023
@dkfellows dkfellows mentioned this pull request Feb 17, 2023
2 tasks
@rowleya rowleya marked this pull request as ready for review February 20, 2023 12:56
@rowleya rowleya marked this pull request as draft February 20, 2023 12:56
dkfellows added a commit that referenced this pull request May 10, 2023
Because #651 and #658 aren't about to be merged but need to be kept up
to scratch.
dkfellows and others added 17 commits May 10, 2023 13:24
…a-17/testing.version-3.1.0

Bump testing.version from 3.0.0 to 3.1.0
…ing-6/testing.version-3.1.0

Bump testing.version from 3.0.0 to 3.1.0
…ing-6/error-prone.version-2.19.0

Bump error-prone.version from 2.18.0 to 2.19.0
…a-17/error-prone.version-2.19.0

Bump error-prone.version from 2.18.0 to 2.19.0
…ing-6/jackson.version-2.15.0

Bump jackson.version from 2.14.2 to 2.15.0
…ing-6/spring.version-6.0.8

Bump spring.version from 6.0.7 to 6.0.8
…a-17/com.puppycrawl.tools-checkstyle-10.11.0

Bump checkstyle from 10.3.3 to 10.11.0
…ing-6/spring.security.version-6.0.3

Bump spring.security.version from 6.0.2 to 6.0.3
Bumps `spring.version` from 6.0.8 to 6.0.9.

Updates `spring-framework-bom` from 6.0.8 to 6.0.9
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](spring-projects/spring-framework@v6.0.8...v6.0.9)

Updates `spring-test` from 6.0.8 to 6.0.9
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](spring-projects/spring-framework@v6.0.8...v6.0.9)

---
updated-dependencies:
- dependency-name: org.springframework:spring-framework-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.springframework:spring-test
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [jakarta.mail-api](https://github.com/jakartaee/mail-api) from 2.1.0 to 2.1.1.
- [Release notes](https://github.com/jakartaee/mail-api/releases)
- [Commits](jakartaee/mail-api@2.1.0...2.1.1)

---
updated-dependencies:
- dependency-name: jakarta.mail:jakarta.mail-api
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps `error-prone.version` from 2.19.0 to 2.19.1.

Updates `error_prone_annotations` from 2.19.0 to 2.19.1
- [Release notes](https://github.com/google/error-prone/releases)
- [Commits](google/error-prone@v2.19.0...v2.19.1)

Updates `error_prone_core` from 2.19.0 to 2.19.1
- [Release notes](https://github.com/google/error-prone/releases)
- [Commits](google/error-prone@v2.19.0...v2.19.1)

---
updated-dependencies:
- dependency-name: com.google.errorprone:error_prone_annotations
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.errorprone:error_prone_core
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps `cxf.version` from 4.0.0 to 4.0.1.

Updates `cxf-rt-frontend-jaxrs` from 4.0.0 to 4.0.1

Updates `cxf-spring-boot-starter-jaxrs` from 4.0.0 to 4.0.1

Updates `cxf-bom` from 4.0.0 to 4.0.1

---
updated-dependencies:
- dependency-name: org.apache.cxf:cxf-rt-frontend-jaxrs
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.apache.cxf:cxf-spring-boot-starter-jaxrs
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.apache.cxf:cxf-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 10.3.3 to 10.11.0.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](checkstyle/checkstyle@checkstyle-10.3.3...checkstyle-10.11.0)

---
updated-dependencies:
- dependency-name: com.puppycrawl.tools:checkstyle
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
dependabot bot and others added 8 commits September 19, 2023 13:28
Bumps `cxf.version` from 4.0.2 to 4.0.3.

Updates `org.apache.cxf:cxf-rt-frontend-jaxrs` from 4.0.2 to 4.0.3

Updates `org.apache.cxf:cxf-spring-boot-starter-jaxrs` from 4.0.2 to 4.0.3

Updates `org.apache.cxf:cxf-rt-rs-client` from 4.0.2 to 4.0.3

Updates `org.apache.cxf:cxf-bom` from 4.0.2 to 4.0.3

---
updated-dependencies:
- dependency-name: org.apache.cxf:cxf-rt-frontend-jaxrs
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.apache.cxf:cxf-spring-boot-starter-jaxrs
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.apache.cxf:cxf-rt-rs-client
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.apache.cxf:cxf-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps `spring.version` from 6.0.11 to 6.0.12.

Updates `org.springframework:spring-framework-bom` from 6.0.11 to 6.0.12
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](spring-projects/spring-framework@v6.0.11...v6.0.12)

Updates `org.springframework:spring-test` from 6.0.11 to 6.0.12
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](spring-projects/spring-framework@v6.0.11...v6.0.12)

---
updated-dependencies:
- dependency-name: org.springframework:spring-framework-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.springframework:spring-test
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [org.springframework.security:spring-security-bom](https://github.com/spring-projects/spring-security) from 6.1.3 to 6.1.4.
- [Release notes](https://github.com/spring-projects/spring-security/releases)
- [Changelog](https://github.com/spring-projects/spring-security/blob/main/RELEASE.adoc)
- [Commits](spring-projects/spring-security@6.1.3...6.1.4)

---
updated-dependencies:
- dependency-name: org.springframework.security:spring-security-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
…ring-6/spring.version-6.0.12

Bump spring.version from 6.0.11 to 6.0.12
…ring-6/org.springframework.security-spring-security-bom-6.1.4

Bump org.springframework.security:spring-security-bom from 6.1.3 to 6.1.4
…ring-6/cxf.version-4.0.3

Bump cxf.version from 4.0.2 to 4.0.3
…va-17/org.springframework.security-spring-security-core-5.8.7

Bump org.springframework.security:spring-security-core from 5.8.6 to 5.8.7
Won't be the effort for both of these branches to exist independently
going forward.
@dkfellows dkfellows changed the title Update Java version to 17 Update Java version to 17 and JEE to 9 Sep 21, 2023
dkfellows and others added 8 commits September 21, 2023 16:26
Bumps `error-prone.version` from 2.21.1 to 2.22.0.

Updates `com.google.errorprone:error_prone_annotations` from 2.21.1 to 2.22.0
- [Release notes](https://github.com/google/error-prone/releases)
- [Commits](google/error-prone@v2.21.1...v2.22.0)

Updates `com.google.errorprone:error_prone_core` from 2.21.1 to 2.22.0
- [Release notes](https://github.com/google/error-prone/releases)
- [Commits](google/error-prone@v2.21.1...v2.22.0)

---
updated-dependencies:
- dependency-name: com.google.errorprone:error_prone_annotations
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.errorprone:error_prone_core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps `spring.boot.version` from 3.1.3 to 3.1.4.

Updates `org.springframework.boot:spring-boot-starter` from 3.1.3 to 3.1.4
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](spring-projects/spring-boot@v3.1.3...v3.1.4)

Updates `org.springframework.boot:spring-boot-maven-plugin` from 3.1.3 to 3.1.4
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](spring-projects/spring-boot@v3.1.3...v3.1.4)

Updates `org.springframework.boot:spring-boot-dependencies` from 3.1.3 to 3.1.4
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](spring-projects/spring-boot@v3.1.3...v3.1.4)

---
updated-dependencies:
- dependency-name: org.springframework.boot:spring-boot-starter
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.springframework.boot:spring-boot-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.springframework.boot:spring-boot-dependencies
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
…va-17/spring.boot.version-3.1.4

Bump spring.boot.version from 3.1.3 to 3.1.4
…va-17/error-prone.version-2.22.0

Bump error-prone.version from 2.21.1 to 2.22.0
@dkfellows dkfellows marked this pull request as ready for review September 26, 2023 13:03
@dkfellows
Copy link
Member Author

Merging instructions: prior to merging this PR, you need to change what the expected set of passing tests is in the Repository Settings for the master branch. This PR removes support for Java 11 and 14, and adds the need for Java 17 to pass for both testing and validation.

@dkfellows dkfellows removed their assignment Sep 28, 2023
dependabot bot and others added 10 commits October 17, 2023 13:16
Bumps `log4j.version` from 2.20.0 to 2.21.0.

Updates `org.apache.logging.log4j:log4j-bom` from 2.20.0 to 2.21.0
- [Release notes](https://github.com/apache/logging-log4j2/releases)
- [Commits](apache/logging-log4j2@rel/2.20.0...rel/2.21.0)

Updates `org.apache.logging.log4j:log4j-api` from 2.20.0 to 2.21.0

Updates `org.apache.logging.log4j:log4j-slf4j2-impl` from 2.20.0 to 2.21.0

Updates `org.apache.logging.log4j:log4j-core` from 2.20.0 to 2.21.0

Updates `org.apache.logging.log4j:log4j-jul` from 2.20.0 to 2.21.0

---
updated-dependencies:
- dependency-name: org.apache.logging.log4j:log4j-bom
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.apache.logging.log4j:log4j-api
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.apache.logging.log4j:log4j-slf4j2-impl
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.apache.logging.log4j:log4j-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.apache.logging.log4j:log4j-jul
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [org.testcontainers:testcontainers-bom](https://github.com/testcontainers/testcontainers-java) from 1.19.0 to 1.19.3.
- [Release notes](https://github.com/testcontainers/testcontainers-java/releases)
- [Changelog](https://github.com/testcontainers/testcontainers-java/blob/main/CHANGELOG.md)
- [Commits](testcontainers/testcontainers-java@1.19.0...1.19.3)

---
updated-dependencies:
- dependency-name: org.testcontainers:testcontainers-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps commons-io:commons-io from 2.13.0 to 2.15.1.

---
updated-dependencies:
- dependency-name: commons-io:commons-io
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [com.puppycrawl.tools:checkstyle](https://github.com/checkstyle/checkstyle) from 10.12.3 to 10.12.6.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](checkstyle/checkstyle@checkstyle-10.12.3...checkstyle-10.12.6)

---
updated-dependencies:
- dependency-name: com.puppycrawl.tools:checkstyle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps org.keycloak:keycloak-client-registration-api from 22.0.3 to 23.0.3.

---
updated-dependencies:
- dependency-name: org.keycloak:keycloak-client-registration-api
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
…va-17/org.keycloak-keycloak-client-registration-api-23.0.3

Bump org.keycloak:keycloak-client-registration-api from 22.0.3 to 23.0.3
…va-17/com.puppycrawl.tools-checkstyle-10.12.6

Bump com.puppycrawl.tools:checkstyle from 10.12.3 to 10.12.6
…va-17/commons-io-commons-io-2.15.1

Bump commons-io:commons-io from 2.13.0 to 2.15.1
…va-17/org.testcontainers-testcontainers-bom-1.19.3

Bump org.testcontainers:testcontainers-bom from 1.19.0 to 1.19.3
…va-17/log4j.version-2.21.0

Bump log4j.version from 2.20.0 to 2.21.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants