Class WSDL2JavaScriptMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.cxf.maven_plugin.AbstractCodegenMojo
org.apache.cxf.maven_plugin.wsdl2js.WSDL2JavaScriptMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="wsdl2js",
defaultPhase=GENERATE_SOURCES,
threadSafe=true,
requiresDependencyResolution=TEST)
public class WSDL2JavaScriptMojo
extends AbstractCodegenMojo
-
Field Summary
Fields inherited from class org.apache.cxf.maven_plugin.AbstractCodegenMojo
buildContext, classesDirectory, disableDependencyScan, disableDirectoryScan, excludes, fork, includes, markerDirectory, pluginArtifacts, project, skipGarbageCollection, testWsdlRoot, useCompileClasspath, wsdlRootFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected List<GenericWsdlOption>protected Busgenerate(GenericWsdlOption genericWsdlOption, Bus bus, Set<URI> classPath) protected Class<?>protected Fileprotected Fileprotected Stringstatic List<GenericWsdlOption>loadWsdlOptionsFromDependencies(org.apache.maven.project.MavenProject project, Option defaultOptions, File outputDir) protected voidmergeOptions(List<GenericWsdlOption> effectiveWsdlOptions) protected booleanshouldRun(GenericWsdlOption genericWsdlOption, File doneFile, URI wsdlURI) Determine if code should be generated from the given wsdlMethods inherited from class org.apache.cxf.maven_plugin.AbstractCodegenMojo
addPluginArtifact, configureProxyServerSettings, createMarkerFile, deleteDir, downloadRemoteWsdls, execute, forkOnce, generateCommandLine, getDoneFile, getWsdlFile, getWsdlURI, runForkedMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
WSDL2JavaScriptMojo
public WSDL2JavaScriptMojo()
-
-
Method Details
-
generate
protected Bus generate(GenericWsdlOption genericWsdlOption, Bus bus, Set<URI> classPath) throws org.apache.maven.plugin.MojoExecutionException - Specified by:
generatein classAbstractCodegenMojo- Throws:
org.apache.maven.plugin.MojoExecutionException
-
getGeneratedSourceRoot
- Specified by:
getGeneratedSourceRootin classAbstractCodegenMojo
-
getGeneratedTestRoot
- Specified by:
getGeneratedTestRootin classAbstractCodegenMojo
-
shouldRun
Description copied from class:AbstractCodegenMojoDetermine if code should be generated from the given wsdl- Specified by:
shouldRunin classAbstractCodegenMojo- Returns:
-
mergeOptions
-
createWsdlOptionsFromScansAndExplicitWsdlOptions
protected List<GenericWsdlOption> createWsdlOptionsFromScansAndExplicitWsdlOptions() throws org.apache.maven.plugin.MojoExecutionException- Specified by:
createWsdlOptionsFromScansAndExplicitWsdlOptionsin classAbstractCodegenMojo- Throws:
org.apache.maven.plugin.MojoExecutionException
-
loadWsdlOptionsFromDependencies
public static List<GenericWsdlOption> loadWsdlOptionsFromDependencies(org.apache.maven.project.MavenProject project, Option defaultOptions, File outputDir) -
getForkClass
- Specified by:
getForkClassin classAbstractCodegenMojo
-
getMarkerSuffix
- Specified by:
getMarkerSuffixin classAbstractCodegenMojo
-