-
Notifications
You must be signed in to change notification settings - Fork 30
Updated pom.xml by Safer #60
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -72,25 +72,25 @@ | |||||||||||||||||||||||||||||
| <dependency> | ||||||||||||||||||||||||||||||
| <groupId>org.projectlombok</groupId> | ||||||||||||||||||||||||||||||
| <artifactId>lombok</artifactId> | ||||||||||||||||||||||||||||||
| <version>${lombok.version}</version> | ||||||||||||||||||||||||||||||
| <version>1.16.6</version> | ||||||||||||||||||||||||||||||
| <scope>provided</scope> | ||||||||||||||||||||||||||||||
| </dependency> | ||||||||||||||||||||||||||||||
| <dependency> | ||||||||||||||||||||||||||||||
| <groupId>com.fasterxml.jackson.core</groupId> | ||||||||||||||||||||||||||||||
| <artifactId>jackson-databind</artifactId> | ||||||||||||||||||||||||||||||
| <version>${jackson.version}</version> | ||||||||||||||||||||||||||||||
| <version>2.13.4.2</version> | ||||||||||||||||||||||||||||||
| <scope>provided</scope> | ||||||||||||||||||||||||||||||
| </dependency> | ||||||||||||||||||||||||||||||
| <dependency> | ||||||||||||||||||||||||||||||
| <groupId>com.fasterxml.jackson.datatype</groupId> | ||||||||||||||||||||||||||||||
| <artifactId>jackson-datatype-guava</artifactId> | ||||||||||||||||||||||||||||||
| <version>${jackson.version}</version> | ||||||||||||||||||||||||||||||
| <version>2.19.1</version> | ||||||||||||||||||||||||||||||
| <scope>provided</scope> | ||||||||||||||||||||||||||||||
| </dependency> | ||||||||||||||||||||||||||||||
| <dependency> | ||||||||||||||||||||||||||||||
| <groupId>org.hibernate</groupId> | ||||||||||||||||||||||||||||||
| <artifactId>hibernate-validator</artifactId> | ||||||||||||||||||||||||||||||
| <version>${hibernate.validator.version}</version> | ||||||||||||||||||||||||||||||
| <version>5.2.5.Final</version> | ||||||||||||||||||||||||||||||
| <scope>provided</scope> | ||||||||||||||||||||||||||||||
| </dependency> | ||||||||||||||||||||||||||||||
| <dependency> | ||||||||||||||||||||||||||||||
|
|
@@ -103,14 +103,14 @@ | |||||||||||||||||||||||||||||
| <dependency> | ||||||||||||||||||||||||||||||
| <groupId>ch.qos.logback</groupId> | ||||||||||||||||||||||||||||||
| <artifactId>logback-classic</artifactId> | ||||||||||||||||||||||||||||||
| <version>1.2.3</version> | ||||||||||||||||||||||||||||||
| <version>1.3.15</version> | ||||||||||||||||||||||||||||||
| <scope>test</scope> | ||||||||||||||||||||||||||||||
| </dependency> | ||||||||||||||||||||||||||||||
|
Comment on lines
103
to
108
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
The 1.3/1.4 logback lines were created for SLF4J’s major-version bump. Mixing them with SLF4J 1.x will cause Either
- <version>1.3.15</version>
+ <version>1.2.13</version> <!-- safe choice -->📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
| <dependency> | ||||||||||||||||||||||||||||||
| <groupId>junit</groupId> | ||||||||||||||||||||||||||||||
| <artifactId>junit</artifactId> | ||||||||||||||||||||||||||||||
| <version>${junit.version}</version> | ||||||||||||||||||||||||||||||
| <version>4.13.1</version> | ||||||||||||||||||||||||||||||
| <scope>test</scope> | ||||||||||||||||||||||||||||||
| </dependency> | ||||||||||||||||||||||||||||||
| </dependencies> | ||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
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.
🛠️ Refactor suggestion
Inconsistent Jackson family versions will yield
NoSuchMethodErrors at runtimejackson-databindis set to 2.13.4.2 butjackson-datatype-guavais 2.19.1 (a non-existent / future line). All Jackson artifacts must share the exact same minor version.Alternatively declare a Jackson BOM in
<dependencyManagement>to avoid divergence.Also applies to: 85-89
🤖 Prompt for AI Agents