Hello all!
I have used maven-assembly-plugin 2.2-beta-2 before and have those lines in
my descriptor:
<files>
<file>
<source>${basedir}/src/scripts/python/updater.py</source>
<outputDirectory>/</outputDirectory>
<filtered>true</filtered>
</file>
</files>
Filtering works right, I have got real project version instead of
${project.version}.
After switch to the version 2.2, plugin not filter necessary file (declared
into snippet above). All $properties stay unfiltered.
Is something change between versions?
And one more question, is it possible to use <filtered> for file sets into
<fileSets>?
In assembly descriptor description are wrote:
filteredbooleanWhether to filter symbols in the files as they are copied,
using properties from the build configuration. (Since 2.2)
*Default value is*: false.
But into "Filtering Some Distribution Files" topic are wrote: Filtering is
only enabled inside <files> so that's what we will use.
Could anybody clear the situation?
Best regards.
--
*Aleksey Didik,*
Solution Architect
Tel (Office): + 7 846 342 51 74 ext.242
Mob: +7 927 730 76 43
Skype ID: aleksey.didik
*Maxifier - AOP Technology Award Winner 2010*
*Maxifier is a division of Magenta Corporation Ltd*
*Confidential and/or legally privileged information may be in this email,
which only the intended addressee(s) may access. If you have received this
email in error, please inform us immediately and delete all copies from your
system. Magenta Corporation Limited uses anti-virus systems but can take no
responsibility for any viruses which attach to this email.*