On Thu, 2005-10-06 at 15:48 +0200, Philippe HUET 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.

Now captured and added here:

http://people.apache.org/~jvanzyl/maven2/guides/getting-
started/index.html#How%20do%20I%20filter%20resources%20against%20my%
20POM?

> --
> 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]
> 
> 
-- 
jvz.

Jason van Zyl
jason at maven.org
http://maven.apache.org



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

Reply via email to