test: Add Jackson 3 test cases and version ambiguity warnings

Add JacksonizedAccessorsJackson3 test case verifying that @Jacksonized
with jacksonVersion=3 emits the correct annotations.

Add expected warning messages for tests that have both Jackson 2 and 3
on the classpath without explicit version configuration, and fix
JacksonizedSuperBuilderWithJsonDeserialize message expectations.
This commit is contained in:
Sebastian Mandrean authored and Reinier Zwitserloot committed 2026-04-22 00:49:30 +02:00
1 parent 45e72e241a
commit e6567b6621
8 files changed
+192

No files matched your search

@@ -0,0 +1,10 @@
//version 8: Jackson deps are at least Java7+.
//CONF: lombok.jacksonized.jacksonVersion += 3
@lombok.Data
@lombok.experimental.Accessors(fluent = true)
@lombok.extern.jackson.Jacksonized
class JacksonizedAccessorsJackson3 {
private String name;
private int age;
private transient String password;
}