changed project name to dozer and added it to main maven pom
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<mappings xmlns="http://dozer.sourceforge.net" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://dozer.sourceforge.net
|
||||
http://dozer.sourceforge.net/schema/beanmapping.xsd">
|
||||
<configuration>
|
||||
<custom-converters>
|
||||
<converter type="com.baeldung.dozer.MyCustomConvertor">
|
||||
<class-a>com.baeldung.dozer.Personne3</class-a>
|
||||
<class-b>com.baeldung.dozer.Person3</class-b>
|
||||
</converter>
|
||||
</custom-converters>
|
||||
</configuration>
|
||||
|
||||
</mappings>
|
||||
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<mappings xmlns="http://dozer.sourceforge.net" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://dozer.sourceforge.net
|
||||
http://dozer.sourceforge.net/schema/beanmapping.xsd">
|
||||
<mapping>
|
||||
<class-a>com.baeldung.dozer.Personne</class-a>
|
||||
<class-b>com.baeldung.dozer.Person</class-b>
|
||||
<field>
|
||||
<a>nom</a>
|
||||
<b>name</b>
|
||||
</field>
|
||||
<field>
|
||||
<a>surnom</a>
|
||||
<b>nickname</b>
|
||||
</field>
|
||||
</mapping>
|
||||
</mappings>
|
||||
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<mappings xmlns="http://dozer.sourceforge.net" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://dozer.sourceforge.net
|
||||
http://dozer.sourceforge.net/schema/beanmapping.xsd">
|
||||
<mapping wildcard="false">
|
||||
<class-a>com.baeldung.dozer.Personne</class-a>
|
||||
<class-b>com.baeldung.dozer.Person</class-b>
|
||||
<field>
|
||||
<a>nom</a>
|
||||
<b>name</b>
|
||||
</field>
|
||||
<field>
|
||||
<a>surnom</a>
|
||||
<b>nickname</b>
|
||||
</field>
|
||||
</mapping>
|
||||
</mappings>
|
||||
Reference in New Issue
Block a user