maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raphaël Piéroni (JIRA) <>
Subject [jira] Commented: (ARCHETYPE-191) Ability to filter filenames (rename files) during project generation
Date Mon, 25 Aug 2008 21:52:26 GMT


Raphaël Piéroni commented on ARCHETYPE-191:

given a multi-module archetype, would something like this is a sufficient soluton ?

in a module of the archetype named prefix-${rootArtifactId} we found a file with name ${rootArtifactId}-${artifactId}-suffix.extension

say we call the generation of this archetype with -DartifactId=someartifact

the resulting file will be located in module prefix-someartifact and will be named someartifact-prefix-someartifact-suffix.extension

> Ability to filter filenames (rename files) during project generation
> --------------------------------------------------------------------
>                 Key: ARCHETYPE-191
>                 URL:
>             Project: Maven Archetype
>          Issue Type: New Feature
>          Components: Generator
>    Affects Versions: 2.0-alpha-3
>            Reporter: Wendy Smoak
> 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:

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message