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.

        Activity

        Show
        paranoiabla Petar Tahchiev added a comment - This has been fixed here: https://git-wip-us.apache.org/repos/asf?p=maven-archetype.git;a=commit;h=cb1ffb29802681fbfef24960a7f482ff526d08ed

          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:

              Development