Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-users] Strange error in WTP webapp

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> 


Back to the top