org.apache.cxf.maven_plugin.wsdl2js
Class WSDL2JavaScriptMojo
java.lang.Object
AbstractMojo
org.apache.cxf.maven_plugin.AbstractCodegenMoho
org.apache.cxf.maven_plugin.wsdl2js.WSDL2JavaScriptMojo
public class WSDL2JavaScriptMojo
- 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 |
WSDL2JavaScriptMojo
public WSDL2JavaScriptMojo()
generate
protected Bus generate(GenericWsdlOption genericWsdlOption,
Bus bus,
Set<URI> classPath)
throws MojoExecutionException
- Specified by:
generate
in class AbstractCodegenMoho
- Throws:
MojoExecutionException
getGeneratedSourceRoot
protected File getGeneratedSourceRoot()
- Specified by:
getGeneratedSourceRoot
in class AbstractCodegenMoho
getGeneratedTestRoot
protected File getGeneratedTestRoot()
- Specified by:
getGeneratedTestRoot
in class AbstractCodegenMoho
shouldRun
protected boolean shouldRun(GenericWsdlOption genericWsdlOption,
File doneFile,
URI wsdlURI)
- Description copied from class:
AbstractCodegenMoho
- Determine if code should be generated from the given wsdl
- Specified by:
shouldRun
in class AbstractCodegenMoho
- Returns:
mergeOptions
protected void mergeOptions(List<GenericWsdlOption> effectiveWsdlOptions)
createWsdlOptionsFromScansAndExplicitWsdlOptions
protected List<GenericWsdlOption> createWsdlOptionsFromScansAndExplicitWsdlOptions()
throws MojoExecutionException
- Specified by:
createWsdlOptionsFromScansAndExplicitWsdlOptions
in class AbstractCodegenMoho
- Throws:
MojoExecutionException
loadWsdlOptionsFromDependencies
public static List<GenericWsdlOption> loadWsdlOptionsFromDependencies(MavenProject project,
Option defaultOptions,
File outputDir)
getForkClass
protected Class<?> getForkClass()
- Specified by:
getForkClass
in class AbstractCodegenMoho
getMarkerSuffix
protected String getMarkerSuffix()
- Specified by:
getMarkerSuffix
in class AbstractCodegenMoho
Apache CXF