Kategorie: Java
-
Simple & Useful Maven commands
This is a collection of useful maven commands that is updated if I find something useful, that is worth mentioning 😎 Advance child versions If you’ve got a multi-module project and want to update the project version in all modules, then just update it first in the main pom.xml. After updating the main pom.xml you…
-
Spring & Jackson @JsonView
Todays problem: at least 2 different APIs (CRUD / Bulk) non-changed code-paths / REST-Endpoints should work like before they should show a different set of attributes in the same object First Try – Jackson mixins Mixins have to be registered in the global ObjectMapper that also includes the Spring-MVC instance and is therefore used by…