This is supposed to work. You can try this m2e-wtp test project, used in
m2e-wtp's test suite :
https://github.com/jbosstools/m2e-wtp-tests/blob/master/org.eclipse.m2e.wtp.tests/projects/WebResourceFiltering/webfiltering/pom.xml

On Mon, Mar 4, 2013 at 5:37 PM, Grossmann Daniel <[email protected]> wrote:

> Hello Everyone,
>
> I am trying to use m2e-wtp 0.17 for filtering my resources without success.
> The directory "target/m2e-wtp/web-resources" contains only
> META-INF/MANIFEST.MF
>
> I did a fresh install of eclipse juno to be sure.
> I created a dummy project too, with no success.
>
> Am I missing some configuration?
>
> Thanks
>
> here is my pom.xml:
>
>
> <project 
> xmlns="http://maven.apache.**org/POM/4.0.0<http://maven.apache.org/POM/4.0.0>"
> xmlns:xsi="http://www.w3.org/**2001/XMLSchema-instance<http://www.w3.org/2001/XMLSchema-instance>"
> xsi:schemaLocation="http://**maven.apache.org/POM/4.0.0<http://maven.apache.org/POM/4.0.0>
> http://maven.apache.org/xsd/**maven-4.0.0.xsd<http://maven.apache.org/xsd/maven-4.0.0.xsd>
> ">
>   <modelVersion>4.0.0</**modelVersion>
>   <groupId>fr.beezik</groupId>
>   <artifactId>test-m2e</**artifactId>
>   <version>0.0.1-SNAPSHOT</**version>
>   <packaging>war</packaging>
>   <build>
>         <plugins>
>             <plugin>
>  <artifactId>maven-war-plugin</**artifactId>
>                 <version>2.3</version>
>                 <configuration>
>  <warSourceDirectory>web-**resources</warSourceDirectory>
>                     <filters>
>  <filter>src/main/resources/**filter.properties</filter>
>                     </filters>
>                     <webResources>
>                         <resource>
>  <directory>src/main/resources<**/directory>
>                             <filtering>true</filtering>
>                         </resource>
>                     </webResources>
>                 </configuration>
>             </plugin>
>         </plugins>
> </build>
> </pro
> ______________________________**_________________
> m2e-users mailing list
> [email protected]
> https://dev.eclipse.org/**mailman/listinfo/m2e-users<https://dev.eclipse.org/mailman/listinfo/m2e-users>
>



-- 
"Have you tried turning it off and on again" - The IT Crowd
_______________________________________________
m2e-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/m2e-users

Reply via email to