I am trying to filter my jboss-web.xml but am having problems. For sure,
the file is getting processed because ${project.version} is substituted
just fine, but any of my custom properties are not. It doesn't seem that
the war plugin is paying attention to my list of filters.

<build>
  <filters>
    <filter>src/main/filters/dev.properties</filter>
   </filters>
   <plugins>
     <plugin>
       <artifactId>maven-war-plugin</artifactId>
       <configuration>
        <webResources>
          <resource>
            <directory>src/main/webapp/WEB-INF</directory>
            <filtering>true</filtering>
            <include>jboss-web.xml</include>
            <targetPath>WEB-INF</targetPath>
          </resource>
.....
</build>

What's missing/wrong in my config?

-- 
Cheers,
Paul

Reply via email to