Some proof of concepts for testing and demoing MapStruct.
- Simple bean mapping
- Class: SimpleMapping.java
- Test: SimpleMappingTest.java
- Dates mapping with function
- Class: DatesMapping.java
- Test: DatesMappingTest.java
- Deep mapping with list and records
- Class: DeepRecordMapping.java
- Test: DeepRecordMappingTest.java
- Mismatch mapping with enum
- Class: MismatchMapping.java
- Test: MismatchMappingTest.java
- Conditional mapping (1.4 vs 1.5)
- Class: ConditionalMapping.java
- Test: ConditionalMappingTest.java
- JAXB with one custom mapping method and JAXBElement
- Class: JAXBElementMapping.java
- Test: JAXBElementMappingTest.java
ninckblokje.poc.mapstruct:poc-mapstruct:jar:1.0-SNAPSHOT
+- jakarta.xml.bind:jakarta.xml.bind-api:jar:2.3.3:compile
| \- jakarta.activation:jakarta.activation-api:jar:1.2.2:compile
+- org.mapstruct:mapstruct:jar:1.4.2.Final:compile
+- org.assertj:assertj-core:jar:3.22.0:test
\- org.junit.jupiter:junit-jupiter:jar:5.8.2:test
+- org.junit.jupiter:junit-jupiter-api:jar:5.8.2:test
| +- org.opentest4j:opentest4j:jar:1.2.0:test
| +- org.junit.platform:junit-platform-commons:jar:1.8.2:test
| \- org.apiguardian:apiguardian-api:jar:1.1.2:test
+- org.junit.jupiter:junit-jupiter-params:jar:5.8.2:test
\- org.junit.jupiter:junit-jupiter-engine:jar:5.8.2:test
\- org.junit.platform:junit-platform-engine:jar:1.8.2:test