Changed
- Replace
javax.validation
withjakarta.validation
. Because last one is successor - Mark lombok dependency as
provided
to avoid its injection into resulted jar MessageExample.payload
now isany
type instead ofMap<String, Object>
javax.validation
with jakarta.validation
. Because last one is successorprovided
to avoid its injection into resulted jarMessageExample.payload
now is any
type instead of Map<String, Object>