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

Using wsdl2java maven goal with <wsdl> and <wsdlArtifact> in the same pom fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.8
    • 2.4.9, 2.5.5, 2.6.2
    • Tooling
    • None
    • Unknown

    Description

      I have configured the wsdl2java goal to use wsdl-files from both local sources, using the <wsdl> element, and from maven artifacts, using the <wsdlArtifact> element. This fails unless I put the <wsdl> as the last <wsldOption>.

      I have created a minimal testcase for this, unzip it and execute

      $ mvn install:install-file -Dfile=greeter.wsdl -DgroupId=greeter -DartifactId=wsdl -Dversion=1.0 -Dpackaging=wsdl -DgeneratePom=true
      

      to install the wsdl, then execute

      $ mvn -e generate-sources
      

      and it should fail. Then try reordering the wsdlOptions in the pom and it will not fail.

      Attachments

        1. greeter.log
          5 kB
          Anders Olsson
        2. greeter.zip
          2 kB
          Anders Olsson

        Activity

          People

            dkulp Daniel Kulp
            andersolsson Anders Olsson
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: