Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] m2e-wtp/web-resources

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 <daniel@xxxxxxxxxx> 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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 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
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users



--
"Have you tried turning it off and on again" - The IT Crowd

Back to the top