Re: Specifying inclusions/exclusions from filtering resources
Hi Jo, Thanks for the advice. Works perfectly for me. Cheers, Kevin "Jo Vandermeeren" <[EMAIL PROTECTED]> 04/06/2007 16:30 Please respond to "Maven Users List" To "Maven Users List" cc Subject Re: Specifying inclusions/exclusions from filtering resources Hi Kevin, You can define separate sets for resources that need to be filtered. More on includes/excludes here: http://maven.apache.org/plugins/maven-resources-plugin/examples/include-exclude.html Example.. src/main/resources WeOnlyWantToFilterThis.properties src/main/resources WeOnlyWantToFilterThis.properties true Resource filtering is nothing more than applying a parameter map to a velocity template. So if you want to prevent a specific value inside the resource from being filtered, use velocity escaping.. Cheers Jo On 6/4/07, Kevin Stembridge <[EMAIL PROTECTED]> wrote: > > Hi all, > Is there a way to specify that only some files within a given directory > hierarchy get filtered when resources are copied? > And what about specifically including or excluding certain properties from > being filtered? > > Cheers, > Kevin > > > --- > > This e-mail may contain confidential and/or privileged information. If you > are not the intended recipient (or have received this e-mail in error) > please notify the sender immediately and destroy this e-mail. Any > unauthorized copying, disclosure or distribution of the material in this > e-mail is strictly forbidden. --- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
Re: Specifying inclusions/exclusions from filtering resources
Hi Kevin, You can define separate sets for resources that need to be filtered. More on includes/excludes here: http://maven.apache.org/plugins/maven-resources-plugin/examples/include-exclude.html Example.. src/main/resources WeOnlyWantToFilterThis.properties src/main/resources WeOnlyWantToFilterThis.properties true Resource filtering is nothing more than applying a parameter map to a velocity template. So if you want to prevent a specific value inside the resource from being filtered, use velocity escaping.. Cheers Jo On 6/4/07, Kevin Stembridge <[EMAIL PROTECTED]> wrote: Hi all, Is there a way to specify that only some files within a given directory hierarchy get filtered when resources are copied? And what about specifically including or excluding certain properties from being filtered? Cheers, Kevin --- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
Specifying inclusions/exclusions from filtering resources
Hi all, Is there a way to specify that only some files within a given directory hierarchy get filtered when resources are copied? And what about specifically including or excluding certain properties from being filtered? Cheers, Kevin --- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.