View Javadoc

1   package org.codehaus.mojo.jaxws;
2   
3   import java.io.File;
4   
5   /**
6    * Parses wsdl and binding files and generates Java code needed to access it.
7    * 
8    * @svnLink $Revision: 3872 $;$Date: 2009-08-04 13:41:09 +0200 (Di, 04. Aug 2009) $;$Author: swismer $;$URL: https://el4j.svn.sourceforge.net/svnroot/el4j/branches/el4j_3_1/el4j/maven/plugins/maven-jaxws-plugin/src/main/java/org/codehaus/mojo/jaxws/MainWsImportMojo.java $
9    *
10   * @goal wsimport
11   * @phase generate-sources
12   * @requiresDependencyResolution
13   * @description JAXWS 2.x Plugin.
14   *
15   * @author Kohsuke Kawaguchi
16   */
17  public class MainWsImportMojo extends WsImportMojo {
18  	/**
19  	 * Specify where to place output generated classes
20  	 * Set to "" to turn it off
21  	 * @parameter default-value="${project.build.outputDirectory}"
22  	 */
23  	protected File destDir;
24  
25  	/**
26  	 * Either ${build.outputDirectory} or ${build.testOutputDirectory}.
27  	 */
28  	protected File getDestDir() {
29  		return destDir;
30  	}
31  }