Hi all,
With the latest and greatest of the Eclipse plugin, with the new resource include issue, I found a usecase where this fails. This came up when I was attempting to work with the Jakarta Commons Sandbox project "email". I have a working, well, failing, example for the unit test for the Eclipse plugin. Just add:
<resource>
<targetPath>META-INF</targetPath>
<includes>
<include>NOTICE.txt</include>
</includes>
</resource>
to the src/plugin-test/project.xml <resources/> section, and the resulting eclipse .classpath has this entry:
<classpathentry excluding="" including="NOTICE.txt|" kind="src" path=".">
</classpathentry>.
the first problem is that there should be an output directory of /target/classes/META-INF. But, that still doesn't work because then it complains about nesting:
Cannot nest output folder '/target/classes/META-INF' inside output folder '/target/classes' .
I am thinking that the whole including of resources may need to be a configurable on off thing...
Eric
Fixed by adding maven.eclipse.resources.addtoclasspath property set to false.