Don't filter the sources... have a resource file and just get the
source code to read from the resource file.

On Wed, Jul 2, 2008 at 3:58 PM, Henri Gomez <[EMAIL PROTECTED]> wrote:
> Hi to all,
>
> I'm trying to filter some of my java source file before compile phase.
>
> public interface DefaultProps {
>
>                public static final String NAME                 = 
> "${pom.artifactId}";
>                public static final String VERSION              = 
> "${pom.version}";
> }
>
>
> maven-resources-plugin is only for resource (non code).
>
> How could we do this ?
>
> Regards
>
> ---------------------------------------------------------------------
> 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