For a Maven archetype, how to camel case a generated file name using ${artifactId}
in archetype-metadata.xml
? For example, sample-my
should give SampleMy.java
.
I supposed this is needed to be a velocity template but this require a macro to be specified in archetype-metadata.xml
. The macro could be created in pluginApp.java as shown at:
How can it be done archetype-metadata.xml
?
Exact fragment in question is at: