You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Jochen Wiedmann <jo...@gmail.com> on 2012/07/02 15:26:34 UTC

Re: Dynamically generating artefact contents

No suggestions?

On Wed, Jun 13, 2012 at 12:18 PM, Jochen Wiedmann
<jo...@gmail.com> wrote:
> On Wed, Jun 13, 2012 at 10:46 AM, Belhadj abdessalem
> <be...@gmail.com> wrote:
>> what would you mean  *shortName would be an attribute that's derived from
>> the artifact-ID   ?*
>
> Just to give an example: archetype-foo -> archetypeFoo.
>
>
> --
> In other words: what could be seen as a socially debilitating failure
> of character can certainly work to your advantage too. (Linus
> Torvalds, but the use in the signature tells something about me as
> well.)



-- 
In other words: what could be seen as a socially debilitating failure
of character can certainly work to your advantage too. (Linus
Torvalds, but the use in the signature tells something about me as
well.)

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


Re: Dynamically generating artefact contents

Posted by Hervé BOUTEMY <he...@free.fr>.
filtered content is interpreted with Velocity
perhaps adding a special utility object in Velocity context could do the job, 
like StringUtils as defined in doxia-site-renderer context [1]

could definetely be useful to add these utilities in Archetype's Velocity 
context.

Please create a jira issue, I'll have a look at it (a patch is welcome too, of 
course :) )

Regards,

Hervé

[1] http://maven.apache.org/doxia/doxia-sitetools/doxia-site-renderer/

Le lundi 2 juillet 2012 15:26:34 Jochen Wiedmann a écrit :
> No suggestions?
> 
> On Wed, Jun 13, 2012 at 12:18 PM, Jochen Wiedmann
> 
> <jo...@gmail.com> wrote:
> > On Wed, Jun 13, 2012 at 10:46 AM, Belhadj abdessalem
> > 
> > <be...@gmail.com> wrote:
> >> what would you mean  *shortName would be an attribute that's derived from
> >> the artifact-ID   ?*
> > 
> > Just to give an example: archetype-foo -> archetypeFoo.
> > 
> > 
> > --
> > In other words: what could be seen as a socially debilitating failure
> > of character can certainly work to your advantage too. (Linus
> > Torvalds, but the use in the signature tells something about me as
> > well.)

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


Re: Dynamically generating artefact contents

Posted by Jörg Schaible <Jo...@scalaris.com>.
Hi Jochen,

you may write an own plugin. Similar code must exist in the build-helper 
plugin, where you can inject e.g. the maven version into a property or parts 
of the artifact version info separate properties.

Regards,
Jörg

Jochen Wiedmann wrote:

> No suggestions?
> 
> On Wed, Jun 13, 2012 at 12:18 PM, Jochen Wiedmann
> <jo...@gmail.com> wrote:
>> On Wed, Jun 13, 2012 at 10:46 AM, Belhadj abdessalem
>> <be...@gmail.com> wrote:
>>> what would you mean  *shortName would be an attribute that's derived
>>> from
>>> the artifact-ID   ?*
>>
>> Just to give an example: archetype-foo -> archetypeFoo.
>>
>>
>> --
>> In other words: what could be seen as a socially debilitating failure
>> of character can certainly work to your advantage too. (Linus
>> Torvalds, but the use in the signature tells something about me as
>> well.)
> 
> 
> 



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