-
Notifications
You must be signed in to change notification settings - Fork 0
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
base: develop
Are you sure you want to change the base?
Conversation
grabsefx
commented
Nov 7, 2024
•
edited
Loading
edited
- gradle 8.12
- latest libraries versions
- junit 5
- spring doc 2.7.0
- jakarta EE
- lombok
# Conflicts: # build.gradle # gradle.properties # gradle/wrapper/gradle-wrapper.properties # jitpack.yml # src/main/java/com/epam/ta/reportportal/ws/reporting/LaunchResource.java
# Conflicts: # gradle.properties # src/test/java/com/epam/ta/reportportal/ws/reporting/serializers/OffsetDateTimeInstantSerializerTest.java
- openjdk21 |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the project already migrated to JDK 21
https://github.com/reportportal/commons-reporting/blob/develop/build.gradle#L38
There was a problem hiding this comment.
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}" |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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}" |
There was a problem hiding this comment.
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
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
build.gradle
Outdated
api "org.hibernate.validator:hibernate-validator:${hibernateValidatorVersion}" | ||
api "org.apache.commons:commons-lang3:${commonsLangVersion}" | ||
api "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:${jacksonVersion}" |
There was a problem hiding this comment.
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
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
There was a problem hiding this 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