Hi

not sure I understand. I thought profiles was for running M2 in different ways.
I just want to filter my source files every time I run Maven, to inject the 
pom.version number in there and add it to the code.

For now, I solved it by filtering my src/main/java directory as a resource
and pinting <sourceDirectory> to the target of that resource. 

Regards
Mark
 

-----Original Message-----
From: Brett Porter [mailto:[EMAIL PROTECTED] 
Sent: Saturday, October 08, 2005 7:04 AM
To: Maven Users List
Subject: Re: source modifications?

I believe these would be achieved by profiles in m2.

- Brett

On 10/3/05, Donszelmann, Mark <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> is the preferred way of doing <sourceModification> from maven 1 in 
> maven 2 to use filtering on the source files and compile the target? Or is 
> there a different (better) method.
>
> Regards
> Mark Donszelmann
> Stanford Linear Accelerator Center
>
> ---------------------------------------------------------------------
> 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]


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

Reply via email to