@Mojo(name="wsimport",
defaultPhase=GENERATE_SOURCES,
requiresDependencyResolution=RUNTIME)
public class MainWsImportMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected java.io.File |
bindingDirectory
Directory containing binding files.
|
protected java.util.List<java.lang.String> |
bindingFiles
List of files to use for bindings.
|
protected java.lang.String |
encoding
Specify character encoding used by source files.
|
protected boolean |
keep
Keep generated files.
|
protected org.apache.maven.plugin.descriptor.PluginDescriptor |
pluginDescriptor
Information about this plugin, used to lookup this plugin's configuration
from the currently executing project.
|
protected org.apache.maven.project.MavenProject |
project
The Maven Project Object.
|
protected boolean |
verbose
Output messages about what the tool is doing.
|
protected java.util.List<java.lang.String> |
wsdlFiles
List of files to use for WSDLs.
|
protected java.io.File |
xauthFile
Specify the location of authorization file.
|
| Constructor and Description |
|---|
MainWsImportMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addSourceRoot(java.lang.String sourceDir) |
protected void |
exec(java.util.List<java.lang.String> args) |
void |
execute() |
java.io.File[] |
getBindingFiles()
Returns a file array of xml files to translate to object models.
|
protected java.util.List<java.lang.String> |
getCommonArgs() |
protected java.io.File |
getDefaultSrcOut() |
protected java.io.File |
getDestDir()
Either ${build.outputDirectory} or ${build.testOutputDirectory}.
|
protected java.lang.String |
getExtraClasspath() |
protected java.io.File |
getImplDestDir() |
protected java.lang.String |
getMain() |
protected java.io.File |
getSourceDestDir() |
protected boolean |
isArgSupported(java.lang.String arg) |
protected boolean |
isExtensionOn() |
protected boolean |
isXnocompile()
Checks if compilation after code generation and let generated sources be
compiled by maven during compilation phase.
|
protected void |
maybeUnsupportedOption(java.lang.String option,
java.lang.String value,
java.util.List<java.lang.String> args) |
@Parameter protected java.util.List<java.lang.String> wsdlFiles
.wsdl
files in the wsdlDirectory will be used.@Parameter(defaultValue="${basedir}/src/jaxws")
protected java.io.File bindingDirectory
@Parameter protected java.util.List<java.lang.String> bindingFiles
.xml
files in the bindingDirectory will be used.@Parameter protected java.io.File xauthFile
@Parameter(property="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 java.lang.String encoding
@Parameter(defaultValue="${plugin}",
readonly=true)
protected org.apache.maven.plugin.descriptor.PluginDescriptor pluginDescriptor
protected java.io.File getDestDir()
protected java.io.File getSourceDestDir()
protected java.io.File getDefaultSrcOut()
protected java.io.File getImplDestDir()
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected java.lang.String getMain()
protected boolean isXnocompile()
public final java.io.File[] getBindingFiles()
protected void addSourceRoot(java.lang.String sourceDir)
protected java.lang.String getExtraClasspath()
protected boolean isExtensionOn()
protected java.util.List<java.lang.String> getCommonArgs()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected boolean isArgSupported(java.lang.String arg)
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected void exec(java.util.List<java.lang.String> args)
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected void maybeUnsupportedOption(java.lang.String option,
java.lang.String value,
java.util.List<java.lang.String> args)
Copyright © 2012-2014 Trajano. All Rights Reserved.