Noone?

Please, there must be someone able to answer this?!


Thanks,

Peter

2008/7/3 Peter Horlock <[EMAIL PROTECTED]>:

> Hi,
>
> I want to let Maven / the Resource plugin (
> http://maven.apache.org/plugins/maven-resources-plugin/examples/include-exclude.html
> )
>
> parse my source code to replace {project.version} with the current version
> of the project as defined in the pom.
> This works great, but - in JSTL, as well as in OpenLazlo, ${variableName}
> is also a variable of the language itself -
> therefore, this leads to collisions - for example, one of our developers
> used a variable named ${parent} which then was filtered by Maven and booom
> the code was broken. Yada yada YAda!
>
> => Is there a way of telling Maven to JUST filter certain properties? I
> know I could tell it to just filter certain files,
> but
> a) a developer could then STILL use ${parent} as a variable in this very
> file
> b) whenever I wanted a new file to be filtered, I would have to add this
> file to the filter section...
>
> Thanks a lot folks,
>
> Peter
>

Reply via email to