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

Filter fileNames when creating archetype from existing project

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2
    • Fix Version/s: 2.4
    • Component/s: Creator
    • Labels:
      None
    • Flags:
      Patch

      Description

      Hi guys,

      i'm trying to create an archetype from an existing project. Some of my classes are named xxxProduct where I would like to xxx to be replaced by a custom property from the client. That's why I have defined my custom property in the archetype.properties file:

       project-name=xxx
      

      It all works great - the class name becomes WhateverISpecifyProduct but the filename is still xxxProduct.java. I have created a simple pull request to allow also the filenames to be filtered with custom properties. Please review it and merge if everything is OK.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: