How can I rename a directory in a custom Maven archetype to be the contents of ${artifactId}
?
I have a directory named service/App1
that I want to customize to be service/${artifactId}
.
This directory is full of a bunch of files and other directories so I can't just create it with the ${artifactId}
I need to keep the contents intact and just rename it.
I was looking into the same thing and found: http://jira.codehaus.org/browse/ARCHETYPE-191
Works like a charm!
Use _____artifactId_____ instead of ${artifactId}