org.apache.cxf.maven_plugin.wsdl2js
Class WSDL2JavaScriptMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.cxf.maven_plugin.AbstractCodegenMoho
org.apache.cxf.maven_plugin.wsdl2js.WSDL2JavaScriptMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class WSDL2JavaScriptMojo
- extends AbstractCodegenMoho
| Fields inherited from class org.apache.cxf.maven_plugin.AbstractCodegenMoho |
buildContext, classesDirectory, disableDependencyScan, disableDirectoryScan, excludes, fork, includes, markerDirectory, pluginArtifacts, project, testWsdlRoot, useCompileClasspath, wsdlRoot |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| Methods inherited from class org.apache.cxf.maven_plugin.AbstractCodegenMoho |
addPluginArtifact, configureProxyServerSettings, createMarkerFile, deleteDir, downloadRemoteWsdls, execute, forkOnce, generateCommandLine, getDoneFile, getWsdlFile, getWsdlURI, runForked |
| Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSDL2JavaScriptMojo
public WSDL2JavaScriptMojo()
generate
protected org.apache.cxf.Bus generate(GenericWsdlOption genericWsdlOption,
org.apache.cxf.Bus bus,
Set<URI> classPath)
throws org.apache.maven.plugin.MojoExecutionException
- Specified by:
generate in class AbstractCodegenMoho
- Throws:
org.apache.maven.plugin.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 org.apache.maven.plugin.MojoExecutionException
- Specified by:
createWsdlOptionsFromScansAndExplicitWsdlOptions in class AbstractCodegenMoho
- Throws:
org.apache.maven.plugin.MojoExecutionException
loadWsdlOptionsFromDependencies
public static List<GenericWsdlOption> loadWsdlOptionsFromDependencies(org.apache.maven.project.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