@Mojo(name="wsimport",
defaultPhase=GENERATE_SOURCES,
requiresDependencyResolution=RUNTIME)
public class MainWsImportMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected File |
bindingDirectory
Directory containing binding files.
|
protected List<String> |
bindingFiles
List of files to use for bindings.
|
protected String |
encoding
Specify character encoding used by source files.
|
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.
|
protected List<String> |
wsdlFiles
List of files to use for WSDLs.
|
protected File |
xauthFile
Specify the location of authorization file.
|
| Constructor and Description |
|---|
MainWsImportMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addSourceRoot(String sourceDir) |
protected void |
exec(List<String> args) |
void |
execute() |
File[] |
getBindingFiles()
Returns a file array of xml files to translate to object models.
|
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 File |
getImplDestDir() |
protected String |
getMain() |
protected File |
getSourceDestDir() |
protected boolean |
getXnocompile() |
protected boolean |
isArgSupported(String arg) |
protected boolean |
isExtensionOn() |
protected void |
maybeUnsupportedOption(String option,
String value,
List<String> args) |
@Parameter protected List<String> wsdlFiles
.wsdl
files in the wsdlDirectory will be used.@Parameter(defaultValue="${basedir}/src/jaxws")
protected File bindingDirectory
@Parameter protected List<String> bindingFiles
.xml
files in the bindingDirectory will be used.@Parameter protected File xauthFile
@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 getDefaultSrcOut()
protected File getImplDestDir()
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected String getMain()
protected boolean getXnocompile()
public final File[] getBindingFiles()
protected void addSourceRoot(String sourceDir)
protected String getExtraClasspath()
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.