title: Problems when generating classes with JAXB - no @XmlRootElement
body: <p>When I run the JAXB plugin, the files are created, but without @XmlRootElement for this reason I need to include this annotation manually in addition to adding an "extends" to the class, however whenever the project is updated the change is undone:</p>
  
  <pre><code>@XmlRootElement
  public class BuscarVeiculo extends BuscarGenericDao {
  </code></pre>
  
  <p>My pom.xml looks like this:</p>
  
  <pre><code>         &lt;plugin&gt;
              &lt;groupId&gt;org.jvnet.jaxb2.maven2&lt;/groupId&gt;
              &lt;artifactId&gt;maven-jaxb2-plugin&lt;/artifactId&gt;
              &lt;version&gt;0.14.0&lt;/version&gt;               
              &lt;executions&gt;
                  &lt;execution&gt;
                      &lt;id&gt;veiculo&lt;/id&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;generate&lt;/goal&gt;
                      &lt;/goals&gt;                    
                      &lt;configuration&gt;
                          &lt;schemaLanguage&gt;WSDL&lt;/schemaLanguage&gt;
                          &lt;schemaDirectory&gt;${project.basedir}/src/main/resources/wsdl&lt;/schemaDirectory&gt;
                          &lt;schemaIncludes&gt;
                              &lt;include&gt;VeiculoWS.wsdl&lt;/include&gt;
                          &lt;/schemaIncludes&gt;
                          &lt;generatePackage&gt;com.pmdf.soap.api.soap.project.veiculo&lt;/generatePackage&gt;
                          &lt;generateDirectory&gt;${project.basedir}/src/main/java&lt;/generateDirectory&gt;
                      &lt;/configuration&gt;
                  &lt;/execution&gt;    
              &lt;/executions&gt;
          &lt;/plugin&gt;
  </code></pre>
  
  <p>In the code below I make the call:</p>
  
  <pre><code>@Service
  public class SoapClientService {
  
      @Autowired
      private Jaxb2Marshaller marshaller;
  
      private WebServiceTemplate template;
  
      public JAXBElement&lt;?&gt;  findMyObject(FindGenericDao request, String URI) {
  
          template = new WebServiceTemplate(marshaller);
          JAXBElement&lt;?&gt; vehicle = (JAXBElement&lt;?&gt;) template.marshalSendAndReceive(URI , request);
  
          return vehicle;
      }
  
  }
  </code></pre>