Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-1685

Not possible to pass empty parameter to the maven-codegen-plugin

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1.1
    • 2.0.8, 2.1.2
    • Tooling
    • None
    • Novice

    Description

      CXF-1586 add new functionality to specify not to generate wsdl location into code by passing the wsdlLocation parameter as an empty string. This does not seem to be possible in the maven-codegen-plugin.

      -options files interpret "" as a literal string and if specified as an empty extraarg tag in the pom maven will translate it into null not an empty string causing a NullPointerException.

      Attachments

        1. CXF-1685.diff
          1.0 kB
          Dave Leatherdale

        Activity

          People

            dkulp Daniel Kulp
            daveel Dave Leatherdale
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: