Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-3569

Test cases fail due to Maven Shade plugin

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

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.0.0, 1.1.0
    • Tests
    • None

    Description

      Tests like the ClassLoaderITCase use relative paths to find some jars. The working directory (basedir) is changed by the Maven Shade plugin when it has dependencyReducedPomLocation configured.

      Thus, we need to explicitly set the working directory (if possibly in the plugin configuration) or prevent shading from execute.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            mxm Maximilian Michels
            mxm Maximilian Michels
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment