[ http://jira.codehaus.org/browse/MWAR-129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_114971 ]
Olivier Lamy commented on MWAR-129: ----------------------------------- Stephane, We proceed webResources before webappSourceDirectory. {code:java} WarProjectPackagingTask#performPackaging ... metainfDir.mkdirs(); handleWebResources( context ); handeWebAppSourceDirectory( context ); handleDeploymentDescriptors( context, webinfDir, metainfDir ); .... {code} The easy fix is to change handeWebAppSourceDirectory before handleWebResources. IMHO it makes senses. WDYT ? > WebRessource not filtered > ------------------------- > > Key: MWAR-129 > URL: http://jira.codehaus.org/browse/MWAR-129 > Project: Maven 2.x War Plugin > Issue Type: Bug > Affects Versions: 2.1-alpha-1 > Environment: windows, maven 2.0.7 > Reporter: Jean-Yves LEBLEU > Assignee: Olivier Lamy > Fix For: 2.1-alpha-2 > > Attachments: mwar_129.zip > > > Previously Webressources were correctly filtered and are not filtered any > more > See above extract from pom.xml > <plugin> > <artifactId>maven-war-plugin</artifactId> > <version>2.0.2</version> > <configuration> > <warSourceDirectory>src/main/webapp</warSourceDirectory> > <webResources> > <resource> > <filtering>true</filtering> > <directory>src/main/webapp</directory> > <targetPath>.</targetPath> > <includes> > <include>param.jsp</include> > </includes> > </resource> > </webResources> > </configuration> > </plugin> -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira