You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Arnaud Bailly <ab...@oqube.com> on 2006/12/13 22:36:39 UTC
Pb with resources in war
Hello to all,
I have a small annoying problem with filtering resources using war
plugin. My configuration is:
<build>
<filters>
<filter>${filter.config}</filter>
</filters>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<webResources>
<webResource>
<directory>${basedir}/src/main/webapp-filtered</directory>
<filtering>true</filtering>
<includes>
<include>**/*.xml</include>
</includes>
</webResource>
</webResources>
</configuration>
</plugin>
</plugins>
</build>
The problem is that properties defined on the command line or in the
pom are not taken into account for filtering. I must use indirection
like:
some.prop=${some.other.prop}
Is this a bug or a feature ?
Thx
--
OQube < software engineering \ génie logiciel >
Arnaud Bailly, Dr.
\web> http://www.oqube.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org