Found this through Google: http://www.gxdeveloperweb.com/Blogs/Bram-de-Kruijff/Maven-secrets-filtering-sources.htm
Not sure if it's the best way to do it though. Never tried filtering java source code. /Anders On Tue, Jun 16, 2009 at 15:41, Paolo Castagna<[email protected]> wrote: > Hi, > the "Introduction to the Build Lifecycle" [1] documentation describes a > "process-sources" phase of the default lifecycle. > > The description says: "process-sources - process the source code, for > example to filter any values." > > This is exactly what I want to do (i.e. filter some values in my source > code before compiling it). > > Could you, please, point me to an example which shows how to do that in > practice? > > Thanks, > Paolo > > [1] > http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html#Lifecycle_Reference > > --------------------------------------------------------------------- > 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]
