@Mojo(name="wsgen",
defaultPhase=PROCESS_CLASSES,
requiresDependencyResolution=RUNTIME)
public class MainWsGenMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected String |
encoding
Specify character encoding used by source files.
|
protected boolean |
genWsdl
Specify that a WSDL file should be generated in
${resourceDestDir}. |
protected boolean |
keep
Keep generated files.
|
protected org.apache.maven.plugin.descriptor.PluginDescriptor |
pluginDescriptor |
protected org.apache.maven.project.MavenProject |
project
The Maven Project Object.
|
protected boolean |
verbose
Output messages about what the tool is doing.
|
| Constructor and Description |
|---|
MainWsGenMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addSourceRoot(String sourceDir) |
protected void |
exec(List<String> args) |
void |
execute() |
protected File |
getClassesDir() |
protected List<String> |
getCommonArgs() |
protected File |
getDefaultSrcOut() |
protected File |
getDestDir()
Either ${build.outputDirectory} or ${build.testOutputDirectory}.
|
protected String[] |
getExtraArtifactIDs() |
protected String |
getExtraClasspath() |
protected String[] |
getExtraDependencies() |
protected String |
getMain() |
protected File |
getResourceDestDir() |
protected File |
getSourceDestDir() |
protected boolean |
getXnocompile() |
protected boolean |
isArgSupported(String arg) |
protected boolean |
isExtensionOn() |
protected void |
maybeUnsupportedOption(String option,
String value,
List<String> args) |
protected void |
processSei(String sei) |
@Parameter(defaultValue="false") protected boolean genWsdl
${resourceDestDir}.@Parameter(defaultValue="${project}",
readonly=true)
protected org.apache.maven.project.MavenProject project
@Parameter(defaultValue="false") protected boolean verbose
@Parameter(defaultValue="true") protected boolean keep
@Parameter(property="project.build.sourceEncoding") protected String encoding
@Parameter(defaultValue="${plugin}",
readonly=true)
protected org.apache.maven.plugin.descriptor.PluginDescriptor pluginDescriptor
protected File getDestDir()
protected File getSourceDestDir()
protected File getResourceDestDir()
protected File getDefaultSrcOut()
protected File getClassesDir()
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
execute in interface org.apache.maven.plugin.Mojoorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected void processSei(String sei) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected String getMain()
protected String getExtraClasspath()
protected boolean getXnocompile()
protected void addSourceRoot(String sourceDir)
protected boolean isExtensionOn()
protected List<String> getCommonArgs() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected boolean isArgSupported(String arg) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected void exec(List<String> args) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected void maybeUnsupportedOption(String option, String value, List<String> args)
protected String[] getExtraDependencies()
protected String[] getExtraArtifactIDs()
Copyright © 2006-2015 Oracle. All Rights Reserved.