I\'m creating a maven archetype and in the projects generated a want a class that is named after the artifact id of the generated project.
The artifact id will be format
To variabilize your file name, you can set a requiredProperty and use other properties to build it
RouteBuilder${flowName.toUpperCase()}${flowWay.substring(0,1).toUpperCase()}${flowWay.substring(1)}
Then name the template file : __routeBuilderFileName__.java
__routeBuilderFileName__.java