Class CxfBuildTimeConfig.Wsdl2JavaParameterSet

    • Field Detail

      • includes

        @ConfigItem
        public Optional<List<String>> includes
        A comma separated list of glob patterns for selecting WSDL files which should be processed with wsdl2java tool. The paths are relative to src/main/resources or src/test/resources directories of the current Maven or Gradle module. The glob syntax is specified in io.quarkus.util.GlobUtil.

        Examples:

        • calculator.wsdl,fruits.wsdl will match src/main/resources/calculator.wsdl and src/main/resources/fruits.wsdl under the current Maven or Gradle module, but will not match anything like src/main/resources/subdir/calculator.wsdl
        • my-*-service.wsdl match src/main/resources/my-foo-service.wsdl and src/main/resources/my-bar-service.wsdl
        • **.wsdl will match any of the above
        Note that file extensions other than .wsdl will work during normal builds, but changes in the matching files may get overseen in Quarkus dev mode. Always using the .wsdl extension is thus recommended.

        The default value for quarkus.cxf.codegen.wsdl2java.includes is **.wsdl Named parameter sets, such as quarkus.cxf.codegen.wsdl2java.my-name.includes have no default and not specifying any includes value there will cause a build time error.

        Make sure that the file sets selected by quarkus.cxf.codegen.wsdl2java.includes and quarkus.cxf.codegen.wsdl2java.[whatever-name].includes do not overlap.

        The files from src/main/resources selected by includes and excludes are automatically included in native image and therefore you do not need to include them via quarkus.cxf.wsdl-path (deprecated) or quarkus.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 with wsdl2java tool. The paths are relative to src/main/resources or src/test/resources directories of the current Maven or Gradle module. Same syntax as includes.
      • additionalParams

        @ConfigItem
        public Optional<List<String>> additionalParams
        A comma separated list of additional command line parameters that should passed to CXF wsdl2java tool along with the files selected by includes and excludes. Example: -wsdlLocation,classpath:wsdl/CalculatorService.wsdl. Check wsdl2java documentation for all supported options.

        You need to add io.quarkiverse.cxf:quarkus-cxf-xjc-plugins dependency to your project to be able to use -xjc-Xboolean, -xjc-Xdv, -xjc-Xjavadoc, -xjc-Xpl, -xjc-Xts or -xjc-Xwsdlextension.

    • Constructor Detail

      • Wsdl2JavaParameterSet

        public Wsdl2JavaParameterSet()