title: Unmarshalling Dozer mapping files to provide a mapping library
body: <p>I'm trying to unmarshall some dozer mapping files in order to provide a mapping availability library to a number of applications. But i cant get the JaxB annotations to work correctly. Either the list of mappings us unmarshalled as null or empty</p>
  
  <p>From the mapping file, all i'm interested in is. </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8" standalone="no"?&gt;
  &lt;mappings&gt;
      &lt;mapping&gt;
          &lt;class-a&gt;package.MySourceClass&lt;/class-a&gt;
          &lt;class-b&gt;other.package.DestinationClass&lt;/class-b&gt;
      &lt;/mapping&gt;
  &lt;/mappings&gt;
  </code></pre>
  
  <p>I have a mappings class</p>
  
  <pre><code>@XmlRootElement(name="mappings")
  @XmlAccessorType(XmlAccessType.FIELD)
  public class Mappings {
  
      @XmlElementWrapper(name="mappings")
      private List&lt;Mapping&gt; mappingEntries = null;
  
  //Getters and setters omitted
  </code></pre>
  
  <p>and A mapping class</p>
  
  <pre><code>@XmlRootElement(name="mapping")
  @XmlAccessorType(XmlAccessType.FIELD)
  public class Mapping {
  
  
      @XmlElement(name ="class-a")
      private String classA;
  
      @XmlElement(name = "class-b")
      private String classB;
  </code></pre>
  
  <p>I've tried numerous combinations of the annotations and I cant figure out what i'm doing wrong.</p>
  
  <p>Can someone point me in the right direction.</p>