Uploaded image for project: 'Maven Archetype'
  1. Maven Archetype
  2. ARCHETYPE-617

Files in a folder with a file that has no extension are not filtered

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.2.0
    • None
    • Creator
    • None

    Description

      When using create-from-project, the filtering works but the filtered file is later overwritten with the original unfiltered content. The overwrite occurs due to an overly broad fileset (**/*) created due to the presence of a file with no extension in the folder.

      We rely on the secondLevelResourceDirectory structure to include the directory.

      Working on a PR.

      Also broken in 3.2.1-SNAPSHOT

      Example file structure that exhibits the bug:

      • build
        • docker
          • Dockerfile
          • should-be-filtered-but-is-not.yaml

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tpischke Thomas Pischke
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: