title: jwsc task using maven antrun plugin
body: <p>Trying to execute jwsc task using maven antrun plugin</p>
  
  <pre><code>&lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-antrun-plugin&lt;/artifactId&gt;
                  &lt;version&gt;1.7&lt;/version&gt;
                      &lt;executions&gt;
                          &lt;execution&gt;
                              &lt;phase&gt;compile&lt;/phase&gt;
                              &lt;goals&gt;
                                &lt;goal&gt;run&lt;/goal&gt;
                              &lt;/goals&gt;
                              &lt;configuration&gt;
                                  &lt;target name="webservice.build"&gt;
  
                                      &lt;path id="weblogic.jar.classpath"&gt;
  
                                          &lt;path location="${weblogic.home}/server/lib/weblogic.jar"/&gt;
                                      &lt;/path&gt;
  
  
                                      &lt;taskdef name="jwsc" classname="weblogic.wsee.tools.anttasks.JwscTask" classpathref="weblogic.jar.classpath" &gt;
                                          &lt;classpath&gt;
                                              &lt;path refid="weblogic.jar.classpath" /&gt;
                                          &lt;/classpath&gt;
                                      &lt;/taskdef&gt;
  
  
                                      &lt;jwsc destdir="target"&gt;
                                      &lt;module name="AccountInqWeb" explode="true" contextPath="AccountInqWeb"&gt;
  
                                          &lt;jwsFileSet srcdir="src/com/services/accountinquiry/ws"&gt;
                                              &lt;include name="**/*.java"/&gt;
                                          &lt;/jwsFileSet&gt;
                                          &lt;descriptor file="WebContent/WEB-INF/web.xml"/&gt;
                                          &lt;descriptor file="WebContent/WEB-INF/weblogic.xml"/&gt;
                                      &lt;/module&gt;
                                      &lt;/jwsc&gt;
                                  &lt;/target&gt;
                               &lt;/configuration&gt;
                            &lt;/execution&gt;
                          &lt;/executions&gt;
                        &lt;/plugin&gt;
  &lt;dependency&gt;
            &lt;groupId&gt;com.sun&lt;/groupId&gt;
            &lt;artifactId&gt;tools&lt;/artifactId&gt;
            &lt;version&gt;1.6&lt;/version&gt;
            &lt;scope&gt;system&lt;/scope&gt;
            &lt;systemPath&gt;${java.home}/../lib/tools.jar&lt;/systemPath&gt;
         &lt;/dependency&gt;
  </code></pre>
  
  <p>An Ant BuildException has occured: java.lang.NoClassDefFoundError: com/sun/javadoc/Type
   Ant part <code>...&lt;jwsc destdir="target"&gt;...</code> @ 12:26 in C:\Default\soaservices\workspace\AccountInqWeb\target\antrun\build-webservice.build.xml</p>