Posted
over 10 years
ago
by
Gunnar Morling
|
Posted
over 10 years
ago
by
Gunnar Morling
I’m delighted to announce the release of MapStruct 1.0.0.Beta3.
This version brings the long awaited support for mapping nested source properties, built-in mappings for Java 8 date/time types, fine-grained selection of
... [More]
mapping methods via qualifiers and much more. You can find the complete list of a whopping 46 closed issues here.
Note that existing applications using MapStruct need to adapt to some changes we had to do in order to iron out some glitches from the previous beta releases. These changes are described in more detail at the end of this post.
Before diving into the details, let me say a huge thank...
[Less]
|
Posted
about 11 years
ago
by
Gunnar Morling
|
Posted
about 11 years
ago
by
Gunnar Morling
It’s my great pleasure to announce the release of MapStruct 1.0.0.Beta2.
Amongst the new features is initial support for Java 8, built-in mappings for the types of the Joda-Time date and time API, flexible mapping
... [More]
customization via inline Java expressions and much more.
Distribution bundles (ZIP, TAR.GZ) are available on SourceForge. Alternatively, you can obtain the dependencies from Maven Central. The GAV coordinates are:
org.mapstruct:mapstruct:1.0.0.Beta2 for the annotation JAR, to be used with Java <= 7
org.mapstruct:mapstruct-jdk8:1.0.0.Beta2 for the annotation JAR, to be used with Java >= 8
org.mapstruct:mapstruct-processor:1.0.0.Beta2 for the annotation processor.
Java 8
MapStruct now leverages the repeating annotation feature introduced with Java 8. This...
[Less]
|
Posted
over 11 years
ago
by
Gunnar Morling
|
Posted
over 11 years
ago
by
Gunnar Morling
The MapStruct team is very happy to announce the release of MapStruct 1.0.0.Beta1.
One core part of the new release is comprehensive support for mapping JAXB types with JAXBElement and XmlGregorianCalendar attributes. It’s
... [More]
possible now to plug in custom factories for creating objects, which also supports the JAXB use case as we’ll see in a minute. Further new features are the support for creating mappers from abstract classes (instead of interfaces) and decorators for customizing the behavior of mapping methods.
The JARs should be synched to Maven Central soon. The coordinates are:
org.mapstruct:mapstruct:1.0.0.Beta1 for the annotation JAR and
org.mapstruct:mapstruct-processor:1.0.0.Beta1 for the annotation processor.
Alternatively you...
[Less]
|
Posted
over 11 years
ago
by
Gunnar Morling
It is my great pleasure to announce the release of MapStruct 1.0.0.Alpha2.
This took us a bit longer than expected, but the new release offers quite a few exciting new features we hope you’ll enjoy. The JARs have already
... [More]
been synched to Maven Central. The coordinates are:
org.mapstruct:mapstruct:1.0.0.Alpha2 for the annotation JAR and
org.mapstruct:mapstruct-processor:1.0.0.Alpha2 for the annotation processor.
Alternatively you can get a distribution bundle from SourceForge.
Beside several new mapping features (e.g. combining several sources into one target object) the release provides integration with CDI and Spring to make the retrieval of mapper objects more comfortable. We’ve added several new implicit data type conversions...
[Less]
|
Posted
over 11 years
ago
by
Gunnar Morling
|
Posted
about 12 years
ago
by
Gunnar Morling
|
Posted
about 12 years
ago
by
Gunnar Morling
You work with Gradle to build your application and would like to make use of MapStruct to generate mappings between different representations of your model? Then read on to learn how to make MapStruct work with the Groovy based build
... [More]
tool.
Background
MapStruct is implemented in form of an annotation processor as specified by JSR 269. Annotation processors are plugged into the Java compiler and can inspect the sources during compilation as well as create new sources as it is done by MapStruct. JSR 269 processors can be integrated into basically any form of Java build as long as you work with...
[Less]
|