You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jo...@noaa.gov on 2009/10/23 18:33:38 UTC

filtering src/main/webapp/WEB-INF

Hello All,

I'm trying to understand why token replacement doesn't take place on
files in src/main/webapp/WEB-INF. It works OK on files w/in
src/main/resources.  Here's the config for maven-war-plugin:

         <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-war-plugin</artifactId>
            <configuration>
               <webResources>
                  </resource>
			<resource>
				<directory>src/main/webapp/WEB-INF</directory>
				<filtering>true</filtering>
				<includes>
					<include>applicationContext.xml</include>
				</includes>
			</resource>
               </webResources>
            </configuration>
            </plugin>

The variable is defined as:
   <properties>
		<database>DEVEL</database>
   </properties>

Can someone please help me here?

Thanks!

--john


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org