You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "USHAKOV, Sergey" <s-...@yandex.ru> on 2016/05/08 06:44:33 UTC

[REVOKED]: Archetype additional properties interpolation in resource file names

Hi again, and sorry for bothering everyone.

The problem was just in a typo. Additional properties and standard ones 
are interpolated in file names equally well.

Sorry again and best regards,

Sergey


On 07.05.2016 20:32, USHAKOV, Sergey wrote:
> 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-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org