Excellent! Thanks a lot Philippe.

On 10/6/05, Philippe HUET <[EMAIL PROTECTED]> wrote:
> Kees,
>
> It seems than m2b3 use filter tag instead of filtersFile now:
>
> <build>
>   <filters>
>      <filter>src/filters/internet-server.properties</filter>
>   </filters>
>   <resources>
>     <resource>
>        ...
>        <filtering>true</filtering>
>     </resource>
>     ...
>   </resources>
>   ...
> </build>
>
> I got the same problem yesterday and this solution works for me.
>
> --
> Philippe HUET / [EMAIL PROTECTED]
>
>
> Kees de Kooter a écrit :
>
> >I downloaded beta 3, beta 2 of the resources plugin was downloaded.
> >
> >When I run maven files get copied, but no replacements were made. If I
> >change the filename of the filter file no errors are reported, so it
> >looks like it is not being used at all.
> >
> >Here is my pom:
> >
> >    <build>
> >        <resources>
> >            <resource>
> >                <directory>web/WEB-INF</directory>
> >                <includes>
> >                    <include>applicationContext.xml</include>
> >                    <include>web.xml</include>
> >                </includes>
> >            </resource>
> >        </resources>
> >        <plugins>
> >            <plugin>
> >                <groupId>org.apache.maven.plugins</groupId>
> >                <artifactId>maven-resources-plugin</artifactId>
> >                <configuration>
> >
> ><outputDirectory>${project.build.directory}/${project.build.finalName}</outputDirectory>
> >
> ><filtersFile>src/filters/internet-server.properties</filtersFile>
> >                    <filtering>true</filtering>
> >                </configuration>
> >            </plugin>
> >        </plugins>
> >    </build>
> >
> >Is there an error in my 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]
>
>


--
Kees de Kooter
Boplicity Software
tel +31 10 2427171
web http://www.boplicity.nl

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to