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

wsdl2java marker file name can exceed 255 chars

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.7.7
    • Fix Version/s: 2.7.8
    • Component/s: Tooling
    • Labels:
    • Environment:

      Linux, windows

    • Estimated Complexity:
      Moderate

      Description

      During wsdl2java generation a marker file is created. It's name is created from WSDL URI (location on disk). When it exceeds 255 chars it will produce error during plugin execution.

      [ERROR] Failed to execute goal org.apache.cxf:cxf-codegen-plugin:2.7.7:wsdl2java (generate-sources-projectName) on project bank-simulator: Failed to create marker file /marker/file/path

      Additionally, if maven submode with wsdl2java is called from parent submodule eg.

      mvn clean install -pl submoduleName

      then markerfile nale length gets a lot bigger because base path to submodule is not stripped.

        Attachments

        1. AbstractCodegenMoho.java
          34 kB
          Bartek Zdanowski

          Issue Links

            Activity

              People

              • Assignee:
                dkulp Daniel Kulp
                Reporter:
                zdanek Bartek Zdanowski
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified