Community
Participate
Working Groups
Created attachment 198361 [details] Simple Maven/Eclipse Project with Error. I have a web application that configured the maven-war-plugin to copy some files from the module's parent base directory to its WEB-INF directory. Here is the relevant section of the pom.xml <webResources> <resource> <directory>${project.parent.basedir}/etc/deploy</directory> <targetPath>WEB-INF/etc/config</targetPath> <filtering>false</filtering> </resource> </webResources> When I execute Project -> Clean in Eclipse Helios SR2 I get the following errror messages: 1. An error occurred while filtering resources, error-war, line 1, Maven Problem 2. no context maven session, pom.xml, /error-war, line 1, Maven Problem If I execute in the Context Menu, Maven -> Update Project Configuration, the error goes away until I execute Project -> Clean again. Please see attached a simple project that in my system has the problem. If I remove the webResources section the problem goes away.
Please report m2e-wtp issues at https://issues.sonatype.org/browse/MECLIPSEWTP
Moved to https://github.com/eclipse-m2e/m2e-core/issues/