An open API service indexing awesome lists of open source software.

https://github.com/aboutbits/mapstruct-extensions

Mapstruct extensions like custom naming strategies.
https://github.com/aboutbits/mapstruct-extensions

java lombok mapstruct

Last synced: 4 months ago
JSON representation

Mapstruct extensions like custom naming strategies.

Awesome Lists containing this project

README

          

# Mapstruct extensions

Some customizations for mapstruct

## Setup

Add this library to the classpath by adding the following maven dependency. Versions can be found [here](../../packages)

```xml

it.aboutbits
mapstruct-extensions
x.x.x

```

## CustomAccessorNamingStrategy

The [CustomAccessorNamingStrategy.java](src%2Fmain%2Fjava%2Fit%2Faboutbits%2Fmapstruct%2Fspi%2FCustomAccessorNamingStrategy.java) adds support for Lombok's `@With` methods.
By default, Lombok would treat these generated functions as accessors and would try to map them.

## Local Development

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.

## Build & Publish

To build and publish the chart, visit the GitHub Actions page of the repository and trigger the workflow "Release Package" manually.

## Information

About Bits is a company based in South Tyrol, Italy. You can find more information about us on [our website](https://aboutbits.it).

### Support

For support, please contact [info@aboutbits.it](mailto:info@aboutbits.it).

### Credits

- [All Contributors](../../contributors)

### License

The MIT License (MIT). Please see the [license file](license.md) for more information.