Edit source files with custom maven archetype
- by Scobal
I have created a customer maven archetype and have it setup with some custom requiredProperties:
<requiredProperties>
<requiredProperty key="classPrefix" />
</requiredProperties>
I can use that property to name a file, like so:
__classPrefix__Config.java
My question is can I use that property inside the file. I've tried the following two variations but neither work:
public class ${classPrefix}Config
public class __classPrefix__Config