Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-dev] webresource filtering with wtp

Is this the right place to be posting about the m2eclipse-wtp plugin?

I notice there was a post back on Jan 26th about a fix for webresource
filtering with m2eclipse-wtp:
http://dev.eclipse.org/mhonarc/lists/m2e-dev/msg00204.html  Has this
been pushed out to the 0.13.x branch?  I'm trying to get that working
with the latest m2e nightly and a m2e-wtp 0.13.x build from yesterday,
but while it's working with maven on the command line, in Eclipse with
wtp it's not filtering the webresource files.  Is there additional
configuration required in the pom to get the m2e-wtp plugin to do the
filtering?

My pom.xml has the following:
         <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-war-plugin</artifactId>
            <configuration>
              <webResources>
                <resource>
                  <filtering>true</filtering>
                  <directory>src/main/webapp</directory>
                </resource>
              </webResources>
            </configuration>
          </plugin>
Which is copying src/main/webapp/META-INF/context.xml.


Back to the top