Sorry, just realized you suggested the same workaround in the issue! :D Thanks, Simo
http://people.apache.org/~simonetripodi/ http://www.99soft.org/ On Tue, Nov 30, 2010 at 11:10 AM, Simone Tripodi <simone.trip...@gmail.com> wrote: > Hi Gérald, > just a quick update: I arranged stuff working moving the <filters/> > section inside the assembly plugin configuration, so instead of having > > > <build> > <plugins> > <plugin> > <artifactId>maven-assembly-plugin</artifactId> > </plugin> > </plugins> > > <filters> > > <filter>${basedir}/src/main/filters/prod.properties</filter> > </filters> > </build> > > I had to do: > > > <build> > <plugins> > <plugin> > <artifactId>maven-assembly-plugin</artifactId> > <configuration> > <filters> > > <filter>${basedir}/src/main/filters/prod.properties</filter> > </filters> > </configuration> > </plugin> > </plugins> > </build> > > The dark side of this approach comes when you're using also other > plugins, like the war-plugin, that need to filter resource, so you've > to declare the same filters twice: > > > <build> > <plugins> > <plugin> > <artifactId>maven-assembly-plugin</artifactId> > <configuration> > <filters> > > <filter>${basedir}/src/main/filters/prod.properties</filter> > </filters> > </configuration> > </plugin> > </plugins> > > <filters> > > <filter>${basedir}/src/main/filters/prod.properties</filter> > </filters> > </build> > > I'll vote the issue, I hope in the meanwhile that could help you > fixing your stuff. > Have a nice day, > Simo > > http://people.apache.org/~simonetripodi/ > http://www.99soft.org/ > > > > On Mon, Nov 29, 2010 at 9:02 AM, Gérald Quintana > <gerald.quint...@gmail.com> wrote: >> It already exists, please vote for >> http://jira.codehaus.org/browse/MASSEMBLY-528 >> >> Gérald >> >> 2010/11/26 Simone Tripodi <simone.trip...@gmail.com>: >>> I got *exactly* the same issue, I suppose we should fill a new Issue on >>> Jira!!! >>> Simo >>> >>> http://people.apache.org/~simonetripodi/ >>> http://www.99soft.org/ >>> >>> >>> >>> On Fri, Nov 26, 2010 at 3:18 PM, Gérald Quintana >>> <gerald.quint...@gmail.com> wrote: >>>> The assembly plugin doesn't take the filter configuration from the >>>> project, I has to re-inject the filters! >>>> >>>> Gérald >>>> >>>> Le 26 novembre 2010 14:03, Arnaud Héritier <aherit...@gmail.com> a écrit : >>>>> Couldn't it be the same problem as in resources plugin (there are using >>>>> same libraries to do that) which stops if you have a @ character alone : >>>>> http://jira.codehaus.org/browse/MRESOURCES-104 >>>>> >>>>> On Nov 26, 2010, at 1:48 PM, Gérald Quintana wrote: >>>>> >>>>>> Hello, >>>>>> >>>>>> I have an assembly with files which should be copied and filtered: >>>>>> <fileSet> >>>>>> <directory>src/main/config</directory> >>>>>> <outputDirectory>config</outputDirectory> >>>>>> <filtered>true</filtered> >>>>>> <excludes> >>>>>> <exclude>quartz.properties</exclude> >>>>>> </excludes> >>>>>> </fileSet> >>>>>> >>>>>> Files are copied but not filtered (${...} are still here) >>>>>> >>>>>> The problem occurs with maven-assembly-plugin 2.2 but not with >>>>>> 2.2-beta-5. >>>>>> It it a known bug or a problem in my configuration? >>>>>> >>>>>> Gérald >>>>>> >>>>>> --------------------------------------------------------------------- >>>>>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >>>>>> For additional commands, e-mail: users-h...@maven.apache.org >>>>>> >>>>> >>>>> >>>>> --------------------------------------------------------------------- >>>>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >>>>> For additional commands, e-mail: users-h...@maven.apache.org >>>>> >>>>> >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >>>> For additional commands, e-mail: users-h...@maven.apache.org >>>> >>>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >>> For additional commands, e-mail: users-h...@maven.apache.org >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >> For additional commands, e-mail: users-h...@maven.apache.org >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org