Looks like you're referring to files outside your project. This is not guaranteed to work. m2e core would not allow that kind of thing for java resources for instance as it's considered an anti-pattern. Does it work in CLI? Can you create a JIRA issue and attach a test project reproducing the error [1]? I don't know if that can easily be fixed but I can at least take a look.
regards, Fred Bricon [1] https://issues.sonatype.org/browse/MECLIPSEWTP 2011/6/16 Collin Peters <[email protected]> > In my webapp project I have the following in my pom.xml (see below). > > As you can see, I have a number of webResource inclusions, including some > SQL file, some Jasper reports, and the fckeditor (an html wysiwyg browser > editor). I am having an odd problem where it will say something like: > > File > /home/collin/Code/intouch.git/java/intouch-webapp/../../resources/editor/target/surefire/surefire917805111467821345tmp > does not exist > > I have no idea how to even read this error. The first half of it (up till > "resources/editor") looks like the webResource for the fckeditor, but the > second half looks like some random test file from surefire. > > Anybody have any ideas on what could help? > > ----------------------------------------------------------------------- > pom.xml > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-war-plugin</artifactId> > <version>${maven.war.version}</version> > <configuration> > <webResources> > <webResource> > <directory>${basedir}/src/main/webapp/WEB-INF</directory> > <targetPath>WEB-INF</targetPath> > <filtering>true</filtering> > <includes> > <include>web.xml</include> > <include>*-servlet.xml</include> > </includes> > </webResource> > <!-- Include desired I18N properties files (devel or prod) --> > <webResource> > <directory>src/main/resources/i18n/${i18nType}</directory> > <targetPath>WEB-INF/classes/i18n</targetPath> > </webResource> > <!-- Include SQL for dbmaintain --> > <webResource> > <directory>../../sql</directory> > <targetPath>WEB-INF/sql</targetPath> > <includes> > <include>**/*.sql</include> > </includes> > </webResource> > <!-- Include compiled reports --> > <webResource> > <directory>../../reports</directory> > <targetPath>WEB-INF/reports</targetPath> > <includes> > <include>**/*.jasper</include> > <!-- Include XSLT for reports --> > <include>**/*.xslt</include> > </includes> > </webResource> > <!-- Include FCKEditor Runtime --> > <!-- > <webResource> > <directory>../../resources/editor</directory> > <targetPath>editor</targetPath> > </webResource> > --> > </webResources> > </configuration> > </plugin> > > > _______________________________________________ > m2e-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/m2e-users > > -- "Have you tried turning it off and on again" - The IT Crowd
_______________________________________________ m2e-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/m2e-users
