You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Oliver Dungey (JIRA)" <ji...@apache.org> on 2015/09/30 17:32:04 UTC
[jira] [Commented] (ARCHETYPE-191) Ability to filter filenames
(rename files) during project generation
[ https://issues.apache.org/jira/browse/ARCHETYPE-191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14937007#comment-14937007 ]
Oliver Dungey commented on ARCHETYPE-191:
-----------------------------------------
I am confused by this bug - Alexander Maslov pointed out a flaw in the file renaming regex/logic (too greedy) and provided a patch, Earl Bough has again confirmed the problem later on, but no one has mentioned the patch or applied it anywhere that I can see, is there any way we can get the fix applied?
> Ability to filter filenames (rename files) during project generation
> --------------------------------------------------------------------
>
> Key: ARCHETYPE-191
> URL: https://issues.apache.org/jira/browse/ARCHETYPE-191
> Project: Maven Archetype
> Issue Type: New Feature
> Components: Generator
> Affects Versions: 2.0-alpha-3
> Reporter: Wendy Smoak
> Fix For: 2.0-alpha-4
>
> Attachments: ReplaceAnyContextPropertyEnhancement-v2.patch, ReplaceAnyContextPropertyEnhancement.patch, ReplaceFileNameToken_RegExp.patch, mytest-1.0.1.jar, mytest-1.0.1.pom
>
>
> 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
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)