View Javadoc

1   package org.codehaus.mojo.jaxws;
2   
3   import java.io.File;
4   
5   /**
6    * Reads a JAX-WS service endpoint implementation class
7    * and generates all of the portable artifacts for a JAX-WS web service.
8    * 
9    * @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/MainWsGenMojo.java $
10   *
11   * @goal wsgen
12   * @phase process-classes
13   * @requiresDependencyResolution
14   * @description generate JAX-WS wrapper beans.
15   */
16  public class MainWsGenMojo extends AbstractWsGenMojo {
17  	/**
18  	 * Specify where to place output generated classes
19  	 * Set to "" to turn it off
20  	 * @parameter default-value="${project.build.outputDirectory}"
21  	 */
22  	protected File destDir;
23  
24  	/**
25  	 * Either ${build.outputDirectory} or ${build.testOutputDirectory}.
26  	 */
27  	protected File getDestDir() {
28  		return destDir;
29  	}
30  }