Hi Bram

Thanks for your suggestion. My current approach is to use filtering to
insert the timestamp into the .java file.

The problem I am having is actually getting hold of the appropriate
value of a timestamp. It should reflect the point in time when my
archetype is used to generate a new project.

On 2011-09-30 22:03, Bram Patelski wrote:
> You could use filtering?
> 
> On Fri, Sep 30, 2011 at 22:01, Dennis Lundberg <denn...@apache.org> wrote:
> 
>> Hi
>>
>> I'm creating an archetype, with a bunch of files. In the .java files I
>> want to insert a timestamp. When I use the archetype to generate a new
>> project, the .java files should show when they were generated.
>>
>> Is this possible?
>>
>> I have tried inserting ${maven.build.timestamp} as the default value in
>> my archetype-metadata.xml file, but it doesn't seem to work.
>>
>> --
>> Dennis Lundberg
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>>
>>
> 


-- 
Dennis Lundberg

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

Reply via email to