Hi, I'm using the eclipse plugin with mvn 2.0.6.

I have a project structure:

D:/svn/diamond/prism/prism/editor/pom.xml
D:/svn/diamond/prism/prism/editor/conf/some.config.xml
D:/svn/diamond/prism/prism/editor/uberlibrary/pom.xml
D:/svn/diamond/prism/prism/editor/uberlibrary/src/<etc.  sources under here>

project uberlibrary is a child <module> of project editor.

in the pom.xml of project uberlibrary i have this - so that i can reference
conf/some.config.xml from the child project.

<build>
<resources>
           <resource>
               <!-- this is relative to your project root -->
               <directory>../conf</directory>
               <includes>
                   <include>**/*</include>
               </includes>
           </resource>
           <resource>
               <directory>src/main/resources</directory>
               <includes>
                   <include>**/*</include>
               </includes>
           </resource>
       </resources>
</build>

If I run mvn eclipse:eclipse on the uberlibrary project, it generates this
in the .classpath file:

<classpathentry kind="src" path="D:/svn/diamond/prism/prism/editor/conf"
including="**/*" excluding="**/*.java"/>

...which seems completely fine, but if I import the project into eclispe, it
complains that it cannot find this folder ->

Severity and Description Path Resource Location Creation Time Id
Project uberlibrary is missing required source folder:
'D:/svn/diamond/prism/prism/editor/conf'  uberlibrary Build
path 1176744665715 50691

What am I doing wrong here?

Thanks in advance,
Davis

Reply via email to