How to rename a directory with the artifactId when using a Maven archetype?

Viewed 5777

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.

2 Answers
Related