[ https://jira.codehaus.org/browse/ARCHETYPE-241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=336821#comment-336821 ]
prabal kumar commented on ARCHETYPE-241: ---------------------------------------- I am facing the same issue. Have you resolved this? Please provide me the solution or link. Thanks. > Filtering of directory name same as filenames > --------------------------------------------- > > Key: ARCHETYPE-241 > URL: https://jira.codehaus.org/browse/ARCHETYPE-241 > Project: Maven Archetype > Issue Type: Improvement > Components: Generator > Affects Versions: 2.0-alpha-4 > Reporter: Roy van Rijn > Priority: Minor > > Currently I have the following setup: > target\generated-sources\archetype\src\main\resources\archetype-resources: > - __rootArtifactId__-test1 > - src > - main > - java > - __projectName__-test2 > - src > - main > - java > - Test-__projectName__.java > "This is ${projectName}!" > When I use this archetype with the required property "projectName" set to > "myName" it generates: > - myArtifactId-test1 > - src > - main > - java > - __projectName__-test2 > - src > - main > - java > - Test-myName.java > "This is myName!" > This project builds as expected, but as you can see, the property is changed > in all the filenames (thanks to ARCHETYPE-191) and Velocity changes the > property in the files, but the directory isn't renamed. I would expect that > the directory and module would also accept custom properties besides the > usual rootArtifactId? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira