|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.jaxws.TestWsGenMojo
public class TestWsGenMojo
Reads a JAX-WS service endpoint implementation class and generates all of the portable artifacts for a JAX-WS web service (into the generate test source directroy.)
Due to MNG-1508, this requires 2.0.5 or higher.
| Field Summary | |
|---|---|
protected File |
destDir
Specify where to place output generated classes Set to "" to turn it off |
protected boolean |
extension
Allow to use the JAXWS Vendor Extensions. |
protected boolean |
keep
Keep generated files. |
protected org.apache.maven.project.MavenProject |
project
|
protected boolean |
verbose
Output messages about what the tool is doing |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
TestWsGenMojo()
|
|
| Method Summary | |
|---|---|
void |
execute()
|
protected File |
getDestDir()
Either ${build.outputDirectory} or ${build.testOutputDirectory}. |
protected String |
initClassLoader(ClassLoader parent)
Need to build a URLClassloader since Maven removed it form the chain |
| Methods inherited from class org.apache.maven.plugin.AbstractMojo |
|---|
getLog, getPluginContext, setLog, setPluginContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected File destDir
protected org.apache.maven.project.MavenProject project
protected boolean verbose
protected boolean keep
protected boolean extension
| Constructor Detail |
|---|
public TestWsGenMojo()
| Method Detail |
|---|
protected File getDestDir()
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
protected String initClassLoader(ClassLoader parent)
throws org.apache.maven.plugin.MojoExecutionException
parent -
org.apache.maven.plugin.MojoExecutionException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||