According to the war-plugin documentation [1], I should be able to
control where webapp resources are copied to using the targetPath element:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.0</version>
<configuration>
<webResources>
<resource>
<filtering>true</filtering>
<directory>src/main/conf</directory>
<targetPath>WEB-INF/conf</targetPath>
</resource>
</webResources>
</configuration>
</plugin>
but targetPath seems to be ignored; the resources end up in the webapp
root, not under WEB-INF. Am I doing something wrong, or is this a bug?
I'm guessing I can work around it by moving everything from
src/main/conf to src/main/conf/WEB-INF/conf, but I'd rather avoid the
redundant paths...
Thanks,
L.
[1]
http://maven.apache.org/plugins/maven-war-plugin/examples/adding-filtering-webresources.html
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]