For the Maven archetype, how can a camel generate a generated file name using ${artifactId} in archetype-metadata.xml ? For example, sample-my should give SampleMy.java .
${artifactId}
archetype-metadata.xml
sample-my
SampleMy.java
I assumed that this is needed to be a speed pattern, but this requires specifying a macro in archetype-metadata.xml . A macro can be created in pluginApp .java, as shown on the page:
https://github.com/arun-gupta/spigot-archetype/blob/master/src/main/resources/archetype-resources/src/Main/Java/ pluginApp .java # L4-L7
How to do archetype-metadata.xml ?
The exact fragment in question is located at:
https://github.com/arun-gupta/spigot-archetype/blob/master/src/main/resources/META-INF/maven/archetype-metadata.xml#L14
No one has answered this question yet.
See similar questions:
or similar: