Class CxfBuildTimeConfig.Wsdl2JavaParameterSet
- java.lang.Object
-
- io.quarkiverse.cxf.deployment.CxfBuildTimeConfig.Wsdl2JavaParameterSet
-
- Enclosing class:
- CxfBuildTimeConfig
public static class CxfBuildTimeConfig.Wsdl2JavaParameterSet extends Object
-
-
Field Summary
Fields Modifier and Type Field Description Optional<List<String>>additionalParamsstatic StringDEFAULT_INCLUDESOptional<List<String>>excludesA comma separated list of path patterns for selecting WSDL files which should not be processed withwsdl2javatool.Optional<List<String>>includesA comma separated list of glob patterns for selecting WSDL files which should be processed withwsdl2javatool.
-
Constructor Summary
Constructors Constructor Description Wsdl2JavaParameterSet()
-
-
-
Field Detail
-
DEFAULT_INCLUDES
public static final String DEFAULT_INCLUDES
- See Also:
- Constant Field Values
-
includes
@ConfigItem public Optional<List<String>> includes
A comma separated list of glob patterns for selecting WSDL files which should be processed withwsdl2javatool. The paths are relative tosrc/main/resourcesorsrc/test/resourcesdirectories of the current Maven or Gradle module. The glob syntax is specified inio.quarkus.util.GlobUtil.Examples:
calculator.wsdl,fruits.wsdlwill matchsrc/main/resources/calculator.wsdlandsrc/main/resources/fruits.wsdlunder the current Maven or Gradle module, but will not match anything likesrc/main/resources/subdir/calculator.wsdlmy-*-service.wsdlmatchsrc/main/resources/my-foo-service.wsdlandsrc/main/resources/my-bar-service.wsdl**.wsdlwill match any of the above
.wsdlwill work during normal builds, but changes in the matching files may get overseen in Quarkus dev mode. Always using the.wsdlextension is thus recommended.The default value for
quarkus.cxf.codegen.wsdl2java.includesis**.wsdlNamed parameter sets, such asquarkus.cxf.codegen.wsdl2java.my-name.includeshave no default and not specifying anyincludesvalue there will cause a build time error.Make sure that the file sets selected by
quarkus.cxf.codegen.wsdl2java.includesandquarkus.cxf.codegen.wsdl2java.[whatever-name].includesdo not overlap.The files from
src/main/resourcesselected byincludesandexcludesare automatically included in native image and therefore you do not need to include them viaquarkus.cxf.wsdl-path(deprecated) orquarkus.cxf.codegen.wsdl2java.includes/excludes.
-
excludes
@ConfigItem public Optional<List<String>> excludes
A comma separated list of path patterns for selecting WSDL files which should not be processed withwsdl2javatool. The paths are relative tosrc/main/resourcesorsrc/test/resourcesdirectories of the current Maven or Gradle module. Same syntax asincludes.
-
additionalParams
@ConfigItem public Optional<List<String>> additionalParams
A comma separated list of additional command line parameters that should passed to CXFwsdl2javatool along with the files selected byincludesandexcludes. Example:-wsdlLocation,classpath:wsdl/CalculatorService.wsdl. Checkwsdl2javadocumentation for all supported options.You need to add
io.quarkiverse.cxf:quarkus-cxf-xjc-pluginsdependency to your project to be able to use-xjc-Xboolean,-xjc-Xdv,-xjc-Xjavadoc,-xjc-Xpl,-xjc-Xtsor-xjc-Xwsdlextension.
-
-