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

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

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.1
    • Fix Version/s: 2.0.8, 2.1.2
    • Component/s: Tooling
    • Labels:
      None
    • Estimated Complexity:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: