Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-8345

Fix Eclipse compatibility in the Maven resources plugin config

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Not A Problem
    • 1.20.2
    • 1.20.3
    • Tools, Build & Test
    • None

    Description

      The Maven resources plugin config in /pom.xml makes use of the undocumented variable maven.multiModuleProjectDirectory to copy /git.properties to target/classes in every sub-module. This variable breaks the project build in Eclipse 2022-03, even when a .mvn directory is present at the project root, and was probably never meant for use by the public. Replacing it with the session.executionRootDirectory Maven variable fixes the build in Eclipse and retains the intended copying of git.properties during builds.

      Attachments

        Activity

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

          People

            dzamo James Turton
            dzamo James Turton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment