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

cxf-codegen-plugin fails multiple executions with the same wsdl

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7.8
    • Fix Version/s: 3.2.0
    • Component/s: Tooling
    • Environment:

      maven build process

    • Estimated Complexity:
      Novice

      Description

      bug introduced as of v 2.7.8:
      The implementation of org.apache.cxf.maven_plugin.AbstractCodegenMoho.getDoneFile(...) ignores the 'String mojo' parameter and only uses the baseDir and wsdlUri parameters when generating the 'done' filename.

      When multiple executions are run (wsdl2js and wsdl2java) using the same wsdl, the second execution's generate()-shouldRun() code path finds the "done" generated by the first execution with a newer timestamp and thus skips setting doWork to true. If there are no dependent files configured, then generate exits with "Nothing to generate"

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              deki Dennis Kieselhorst
              Reporter:
              tdilorenzo Todd DiLorenzo

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

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

                  Issue deployment