How is this done? Can you please give an example. I can not get it working
using filtering java files like filtering resources.

bakito



Andrew Williams-5 wrote:
> 
> You could configure the filtering to filter your java code as well as  
> standard resources, though I don't know if that is what you want.
> 
> Andy
> 
> On 22 Jul 2007, at 22:56, Francois Fernandes wrote:
> 
>> Hi list,
>>
>> for some time now I've been looking for a easy way to generate a  
>> simple class containing version information of our artifact. I know  
>> that it is possible to filter resources. But to avoid any resource  
>> loading issues I would like maven to generate such a class.
>> Does anyone have a idea how to solve this? I'm sure that using  
>> resource filtering of a specific class template and then attaching  
>> the generated source(-folder) using the build-helper-maven-plugin,  
>> but is this a elegant way?
>>
>> thanks
>>
>> Francois
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Generate-Version-class-tf4126624s177.html#a12232842
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to