Skip to content
Advertisement

Tag: maven-dependency

MapStruct dependency scope in a Maven project

MapStruct generates code at compile-time and it should not require any runtime dependencies: How is MapStruct different from other bean mapping tools? Unlike most other bean mapping tools, MapStruct doesn’t work at runtime but is a compile-time code generator. Generating mapping code at build time has many advantages: Excellent performance, as no reflection or byte code generation at runtime is

Advertisement