org.apache.cxf.maven_plugin.wsdl2java
Class WSDL2JavaMojo
java.lang.Object
AbstractMojo
org.apache.cxf.maven_plugin.AbstractCodegenMoho
org.apache.cxf.maven_plugin.wsdl2java.WSDL2JavaMojo
public class WSDL2JavaMojo
- extends AbstractCodegenMoho
Fields inherited from class org.apache.cxf.maven_plugin.AbstractCodegenMoho |
classesDirectory, disableDependencyScan, disableDirectoryScan, excludes, fork, includes, markerDirectory, pluginArtifacts, project, testWsdlRoot, useCompileClasspath, wsdlRoot |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSDL2JavaMojo
public WSDL2JavaMojo()
mergeOptions
protected void mergeOptions(List<GenericWsdlOption> effectiveWsdlOptions)
- Merge WsdlOptions that point to the same file by adding the extraargs to the first option and deleting
the second from the options list
- Parameters:
options
-
shouldRun
protected boolean shouldRun(GenericWsdlOption genericWsdlOption,
File doneFile,
URI wsdlURI)
- Determine if code should be generated from the given wsdl
- Specified by:
shouldRun
in class AbstractCodegenMoho
- Parameters:
wsdlOption
- doneFile
- wsdlURI
-
- Returns:
generate
protected Bus generate(GenericWsdlOption genericWsdlOption,
Bus bus,
Set<URI> classPath)
throws MojoExecutionException
- Specified by:
generate
in class AbstractCodegenMoho
- Throws:
MojoExecutionException
createWsdlOptionsFromScansAndExplicitWsdlOptions
protected List<GenericWsdlOption> createWsdlOptionsFromScansAndExplicitWsdlOptions()
throws MojoExecutionException
- Specified by:
createWsdlOptionsFromScansAndExplicitWsdlOptions
in class AbstractCodegenMoho
- Returns:
- effective WsdlOptions
- Throws:
MojoExecutionException
getGeneratedSourceRoot
protected File getGeneratedSourceRoot()
- Specified by:
getGeneratedSourceRoot
in class AbstractCodegenMoho
getGeneratedTestRoot
protected File getGeneratedTestRoot()
- Specified by:
getGeneratedTestRoot
in class AbstractCodegenMoho
getForkClass
protected Class<?> getForkClass()
- Specified by:
getForkClass
in class AbstractCodegenMoho
execute
public void execute()
throws MojoExecutionException
- Overrides:
execute
in class AbstractCodegenMoho
- Throws:
MojoExecutionException
getMarkerSuffix
protected String getMarkerSuffix()
- Specified by:
getMarkerSuffix
in class AbstractCodegenMoho
Apache CXF