Hello, has anyone successfully used filtered web resources with
m2eclipse / wtp? I'm talking about having this config in the POM:
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<webResources>
<resource>
<filtering>true</filtering>
<directory>${basedir}/src/main/webapp-filtered</directory>
</resource>
...
Previous to using m2eclipse, I used to have to run "maven package"
manually, then refresh my Eclipse project and restart the WTP server,
which picked up the new filtered files. I'm envisioning m2eclipse
monitoring my files and copying/filtering to the war folder
automatically, so all I'd need to do would be to bounce the WTP server.
On a related note, I thought about adding the goal "war:exploded" to the
"goals to invoke on resource changes" maven project property
(process-resources is there now). What does it consider a "resource
change" - anything in src/main/resources?
Connor
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email