maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Benedict <pbened...@apache.org>
Subject Problem with filtering web resources
Date Thu, 24 Apr 2014 18:37:05 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message