Hello, the targetPath configuration for webResources is only available in maven war plugin 2.1-SNAPSHOT. you need to use the latest from the trunk to avail of this feature.
> svn co https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-war-plugin > cd maven-war-plugin > mvn install hope that helps, pete marvin Laurie Harper wrote: > 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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
