I post a messag https://sourceforge.net/projects/dozer/forums/forum/452531/topic/3542693, and upload the source codes here.
I use freemarker to generate those codegen files, so please including these jars:
commons-beanutils-1.8.2
commons-collections-3.2.1
commons-lang-2.4
commons-logging-1.1.1
dozer-5.2.0
freemarker-2.3.15
I write a demo under test folder, define 2 PO (Order, OrderItem) and 2 VO (OrderVO, OrderItemVO) and define the mapping relationship in the class OrderInfosMap, OrderInfoMap and OrderItemMap.
to generate the codegen files:
1. execute org.dozer.task.AutoBoundTask, it would codegen xxxProperty.java
2. execute org.dozer.task.DozerMapGenerateTask, it would codegen dozer-mapping.xml
those codegen files would be put in the [project]\gen folder.