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

Flag "includeEmptyDirs" is not working if "targetPath" is specified on resource.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 2.7
    • None
    • copy
    • None

    Description

      If we specify target path like

      <resource>
          <directory>src/main/resources</directory>
          <targetPath>${project.build.directory}/distribution</targetPath>
      </resource>
      

      Then empty directories are not copied, even if flag "includeEmptyDirs" is set to "true"

      Attachments

        1. test-includeEmptyDirs.zip
          11 kB
          Evgeniy Voroniuk

        Activity

          People

            Unassigned Unassigned
            brunneng Evgeniy Voroniuk
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: