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

EPMRPP-93073 migrate to Spring Boot 3 #14

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from

Conversation

grabsefx
Copy link
Contributor

@grabsefx grabsefx commented Nov 7, 2024

  • gradle 8.12
  • latest libraries versions
  • junit 5
  • spring doc 2.7.0
  • jakarta EE
  • lombok

@grabsefx grabsefx self-assigned this Nov 7, 2024
# Conflicts:
#	build.gradle
#	gradle.properties
#	gradle/wrapper/gradle-wrapper.properties
#	jitpack.yml
#	src/main/java/com/epam/ta/reportportal/ws/reporting/LaunchResource.java
@grabsefx grabsefx changed the title EPMRPP-93073 migrate to JDK21 EPMRPP-93073 migrate to Spring Boot 3 Dec 9, 2024
# Conflicts:
#	gradle.properties
#	src/test/java/com/epam/ta/reportportal/ws/reporting/serializers/OffsetDateTimeInstantSerializerTest.java
- openjdk21
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Migration to JDK 21 shifts potential usage of this library to unknown future.

Copy link
Contributor Author

@grabsefx grabsefx Jan 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The fact that I missed this, is not an excuse.

build.gradle Outdated
implementation "com.fasterxml.jackson.core:jackson-databind:${jacksonVersion}"
implementation "javax.validation:validation-api:${validationApiVersion}"
implementation "org.apache.commons:commons-lang3:${commonsLangVersion}"
api "org.springdoc:springdoc-openapi-starter-common:${springDocVersion}"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't manage to find any single reference on Spring in the code. If don use this library only to include transient Swagger annotations, please remove it and include swagger-annotations directly.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

build.gradle Outdated
implementation "javax.validation:validation-api:${validationApiVersion}"
implementation "org.apache.commons:commons-lang3:${commonsLangVersion}"
api "org.springdoc:springdoc-openapi-starter-common:${springDocVersion}"
api "com.fasterxml.jackson.core:jackson-databind:${jacksonVersion}"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't want our users rely on jackson version specified by our library, since we want to be free changing it. Please revert to implementation.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

build.gradle Outdated
Comment on lines 50 to 52
api "org.hibernate.validator:hibernate-validator:${hibernateValidatorVersion}"
api "org.apache.commons:commons-lang3:${commonsLangVersion}"
api "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:${jacksonVersion}"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as for jackson-databind.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

Copy link
Collaborator

@pbortnik pbortnik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Postponed till java version decision

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants