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    * (into the generate test source directroy.)
9    *
10   * <p>
11   * Due to <a href="http://jira.codehaus.org/browse/MNG-1508">MNG-1508</a>, this requires 2.0.5 or higher.
12   * </p>
13   * 
14   * @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/TestWsGenMojo.java $
15   *
16   * @goal wsgen-test
17   * @phase process-test-classes
18   * @requiresDependencyResolution
19   * @description generate JAX-WS wrapper beans.
20   */
21  public class TestWsGenMojo extends AbstractWsGenMojo {
22  	/**
23  	 * Specify where to place output generated classes
24  	 * Set to "" to turn it off
25  	 * @parameter default-value="${project.build.testOutputDirectory}"
26  	 */
27  	protected File destDir;
28  
29  	/**
30  	 * Either ${build.outputDirectory} or ${build.testOutputDirectory}.
31  	 */
32  	protected File getDestDir() {
33  		return destDir;
34  	}
35  }