[ http://jira.codehaus.org/browse/MECLIPSE-114?page=all ]
Kenney Westerhof closed MECLIPSE-114:
-------------------------------------
Resolution: Won't Fix
This is an eclipse limitation, not a maven-eclipse-plugin bug
There is no solution to this problem. The only thing you can do is just use
src/main/resources
to store your resources.
> eclipse:eclipse creates overlapping source directories
> ------------------------------------------------------
>
> Key: MECLIPSE-114
> URL: http://jira.codehaus.org/browse/MECLIPSE-114
> Project: Maven 2.x Eclipse Plugin
> Type: Bug
> Versions: 2.2
> Reporter: Matthew Beermann
>
>
> If I have a POM that looks like this:
> <build>
> <sourceDirectory>src</sourceDirectory>
> <resources>
> <resource>
> <directory>.</directory>
> <includes>
> <include>foo.xml</include>
> <indlude>
> </resource>
> <resources>
> </build>
> ...then I'll get a .classpath file that looks like this:
> <classpathitem kind="src" path="src"/>
> <classpathitem kind="src" path="."/>
> This is illegal, as far as Eclipse is concerned - build paths cannot be
> nested inside of one another.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira