title: axis2 maven example
body: <p>I try to use axis2 (1.5.1) version to generate java codes from wsdl files, but I can't figure out what is the correct pom.xml</p>
  
  <pre><code>&lt;build&gt;
      &lt;plugins&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.apache.axis2&lt;/groupId&gt;
              &lt;artifactId&gt;axis2-wsdl2code-maven-plugin&lt;/artifactId&gt;
              &lt;version&gt;1.5.1&lt;/version&gt;
              &lt;executions&gt;
                  &lt;execution&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;wsdl2code&lt;/goal&gt;
                      &lt;/goals&gt;
                      &lt;configuration&gt;
                          &lt;wsdlFile&gt;src/main/resources/wsdl/stockquote.wsdl&lt;/wsdlFile&gt;
                          &lt;databindingName&gt;xmlbeans&lt;/databindingName&gt;
                          &lt;packageName&gt;a.bc&lt;/packageName&gt;
                      &lt;/configuration&gt;
                  &lt;/execution&gt;
              &lt;/executions&gt;
          &lt;/plugin&gt;
      &lt;/plugins&gt;
  &lt;/build&gt;
  &lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.apache.axis2&lt;/groupId&gt;
          &lt;artifactId&gt;axis2&lt;/artifactId&gt;
          &lt;version&gt;1.5.1&lt;/version&gt;
      &lt;/dependency&gt;
  &lt;/dependencies&gt;
  </code></pre>
  
  <p>when I type mvn compile, it complains the </p>
  
  <pre><code>Retrieving document at 'src/main/resources/wsdl/stockquote.wsdl'.
  java.lang.ClassNotFoundException: org.apache.xml.serializer.TreeWalker
  </code></pre>
  
  <p>And if i try to find the TreeWalker, it is a mess to find a suitable jar files.</p>
  
  <p>can u someone give me a hints ? or give me correct pom.xml</p>
  
  <p>[update] the xalan-2.7.0.jar needs be depedent as well, and the jar file is broken ( due to nexus problem), thx pascal</p>