Hi,

I have an Eclipse-project that are managed with Maven2. This project depends
on resource-files in the source-folders (HTML-files, it's a Wicket project),
but recently Eclipse stopped copying those files to the target
automatically. Project properties->build path->source folders for the
relevant source folder is set to "Included: **/*.java" and "Excluded:
(None)", and if I clear included to "(all)" it works -- however, this is
overwritten when I run "mvn eclipse:eclipse".

The change corresponds to
<classpathentry kind="src" path="src/main/java" including="**/*.java"/>
to
<classpathentry kind="src" path="src/main/java"/>

I've tried various manglings of the resources section of the pom.xml file,
but I can't get it to do anything different. Also, mvn resources:resource
works as expected, so I'm suspecting that I'm looking in the wrong place.

How do I get Maven to output the right classpathentry ?

Thanks,

Martin Seebach

Reply via email to