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

Ability to filter filenames (rename files) during project generation

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0-alpha-3
    • 2.0-alpha-4
    • Generator
    • None

    Description

      When generating a new project from an archetype, I need to filter not only values within files, but the names of the files themselves.

      For example, in .NET projects, the project files (.sln, .csproj) match the name of the solution or project rather than having a fixed name like Maven's pom.xml does.

      Another user raised a similar issue on the mailing list, the ability to filter in the name of Java source code files.

      See: http://www.nabble.com/Archetype%2C-define-file-name-ts18430983.html

      Attachments

        1. ReplaceFileNameToken_RegExp.patch
          5 kB
          Alexander Maslov
        2. mytest-1.0.1.pom
          0.8 kB
          Frederic Tardif
        3. mytest-1.0.1.jar
          4 kB
          Frederic Tardif
        4. ReplaceAnyContextPropertyEnhancement-v2.patch
          10 kB
          Brad Szabo
        5. ReplaceAnyContextPropertyEnhancement.patch
          7 kB
          Brad Szabo

        Activity

          People

            Unassigned Unassigned
            wsmoak Wendy Smoak
            Votes:
            14 Vote for this issue
            Watchers:
            13 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: