Sure!!! please, can you paste here the link? Thanks in advance! Simo http://people.apache.org/~simonetripodi/ http://www.99soft.org/
On Fri, Oct 22, 2010 at 10:43 AM, Aleksey Didik <[email protected]> wrote: > Looks like we need create an issue into Maven Jira and post our cases to it. > I'll do it tomorrow if no one answer. > Please vote for this issue :) > > Aleksey. > > 2010/10/22 Simone Tripodi <[email protected]> > >> Hi all, >> I'm facing same problem, but what happens is that there are properties >> filtered correctly and some others not O_o >> Any hint? >> Simo >> >> http://people.apache.org/~simonetripodi/ >> http://www.99soft.org/ >> >> >> >> On Thu, Oct 21, 2010 at 7:08 PM, Jon Paynter <[email protected]> wrote: >> > On Thu, Oct 21, 2010 at 4:08 AM, Aleksey Didik >> > <[email protected]>wrote: >> > >> >> 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: >> >> filtered boolean Whether 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? >> >> >> > >> > Im seeing the same behavior - using 2.2-beta-5 filtering is fine, but >> when I >> > change to 2.2, filtering seems to be disabled across the board. >> > >> > assembly descriptor snippet: >> > <fileSet> >> > <directory>config/app_config/vpp</directory> >> > <outputDirectory>config</outputDirectory> >> > <filtered>true</filtered> >> > <lineEnding>unix</lineEnding> >> > </fileSet> >> > >> > using 2.2, I get this in my output directory: >> > <var name="LOG_ENABLED" value="${FW_LOG_ENABLED}" /> >> > >> > using 2.2-beta-5, I get this in my output directory: >> > <var name="LOG_ENABLED" value="true" /> >> > >> > The only change I did was to edit the <version> tag for the assembly >> plugin >> > in my top level pom. >> > >> >> --------------------------------------------------------------------- >> 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]
