Some customizations for mapstruct
Add this library to the classpath by adding the following maven dependency. Versions can be found here
<dependency>
<groupId>it.aboutbits</groupId>
<artifactId>mapstruct-extensions</artifactId>
<version>x.x.x</version>
</dependency>
The CustomAccessorNamingStrategy.java adds support for Lombok's @With
methods.
By default, Lombok would treat these generated functions as accessors and would try to map them.
To use this library as a local development dependency, you can simply refer to the version BUILD-SNAPSHOT
.
Check out this repository and run the maven goal install
. This will build and install this library as version BUILD-SNAPSHOT
into your local maven cache.
Note that you may have to tell your IDE to reload your main maven project each time you build the library.
To create a new version of this package and push it to the maven registry, you will have to use the GitHub actions workflow and manually trigger it.
About Bits is a company based in South Tyrol, Italy. You can find more information about us on our website.
For support, please contact [email protected].
The MIT License (MIT). Please see the license file for more information.