Uploaded image for project: 'Maven Resources Plugin'
  1. Maven Resources Plugin
  2. MRESOURCES-21

when pom specifies multiple resource directories, the directories should be copied in the order they are in the pom

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

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2
    • 2.3
    • None
    • None

    Description

      It should be possible to control the order in which resource directories are copied to target/classes, since multiple resource dirs could potentially contain files with the same names. The intutive thing would be to copy the resource directories in the order they are specified in the POM (i.e. last one wins). However, it appears the resources are currently copied in reverse order (i.e. first one wins).

      Attachments

        Issue Links

        Activity

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

          People

            olamy Olivier Lamy
            ips Ian P. Springer
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment