Hi!
I got a question on using archetypes. Sorry if asking a FAQ, but I could
not find an answer so far...
A have an archetype with a resource whose file name should be
interpolated with an additional archetype property. Is that possible?
I have archetype metadata like this:
<archetype-descriptor ... >
<requiredProperties>
<requiredProperty key="paramProjectTitleEn">
<defaultValue>Project Title</defaultValue>
</requiredProperty>
</requiredProperties>
...
If I use a standard property like "groupId" in resource file name, like
"__groupId__my_resource_name", interpolation succeeds. But if I use an
additionalproperty, like "__paramProjectTitleEn__my_resource_name", I
get debug messages "Copying fileset ... -> 0: []" and "Copied 0 files".
And at the same time this additional property is successfully
interpolated in resource content filtering.
Is it possible to get additional archetype properties interpolated in
resource file names? What may be missing?
Thanks and best regards,
Sergey Ushakov
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org