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

CreateArchetypeFromProject creates extra folders if a folder contains both filtered and non-filtered files.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.1
    • Component/s: None
    • Labels:
      None

      Description

      When invoking create-a-project-from-archetype on a project with the following structure:

      src/
          main/
                 webapp/
                             resources/
                                             artifactId/
                                                               a.jsp
                                                               a.png
      

      creates an archetype with the following structure:

      src/
          main/
                 webapp/
                             resources/
                                             artifactId/
                                                               a.png
                                            __artifactId__/
                                                               a.jsp
      

      I believe the correct output should only contain _archetypeId_ with the jsp filtered and the a.png not filtered.

        Attachments

          Activity

            People

            • Assignee:
              paranoiabla Petar Tahchiev
              Reporter:
              paranoiabla Petar Tahchiev
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: