Skip to content

Commit c60a3ff

Browse files
Switch to MapStruct for Object conversions
Actually copies nested properties / things from a list properly, which BeanUtils does not do (see #339 for original patch). Adds more tests that were breaking in the previous branch.
1 parent 893f2b4 commit c60a3ff

8 files changed

Lines changed: 582 additions & 490 deletions

File tree

TylerEfmClient/pom.xml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@
3333
<groupId>org.apache.cxf.xjc-utils</groupId>
3434
<artifactId>cxf-xjc-runtime</artifactId>
3535
</dependency>
36+
<dependency>
37+
<groupId>org.mapstruct</groupId>
38+
<artifactId>mapstruct</artifactId>
39+
</dependency>
3640

3741
<dependency>
3842
<groupId>org.apache.cxf</groupId>
@@ -81,12 +85,6 @@
8185
<version>1.4.7</version>
8286
</dependency>
8387

84-
<dependency>
85-
<groupId>commons-beanutils</groupId>
86-
<artifactId>commons-beanutils</artifactId>
87-
<version>1.11.0</version>
88-
</dependency>
89-
9088
<!-- Testing -->
9189
<dependency>
9290
<groupId>org.junit.jupiter</groupId>
@@ -101,4 +99,13 @@
10199
<scope>test</scope>
102100
</dependency>
103101
</dependencies>
102+
103+
<build>
104+
<plugins>
105+
<plugin>
106+
<groupId>org.apache.maven.plugins</groupId>
107+
<artifactId>maven-compiler-plugin</artifactId>
108+
</plugin>
109+
</plugins>
110+
</build>
104111
</project>

TylerEfmClient/src/main/java/edu/suffolk/litlab/efsp/tyler/Conversion.java

Lines changed: 0 additions & 131 deletions
This file was deleted.

0 commit comments

Comments
 (0)