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

Filter fileNames when creating archetype from existing project

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2
    • 2.4
    • Creator
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: