Eclipse and maven. "Cannot nest output folder" error [message #205147] |
Mon, 16 April 2007 05:28 |
Eclipse User |
|
|
|
Originally posted by: illyge.mail.ru
Hi! I'm trying to make eclipse project out of existing sources using
Maven. I want my resource files to be placed to jar-file when the project
is built. Here is fragment of pom.xml:
<resources>
<resource>
<targetPath>META-INF/skimmer</targetPath>
<filtering>false</filtering>
<directory>${basedir}/src/main/resources/META-INF/skimmer</directory >
<includes>
<include>*</include>
</includes>
</resource>
</resources>
And this is what eclipse shows while trying to build project:
"Cannot nest output folder 'Skimmer/target/classes/META-INF/skimmer'
inside output folder 'Skimmer/target/classes'"
The problem is, as I understand, that Eclipse does not allow to save
something in "classes" folder.
Is this problem solvable?
|
|
|
Powered by
FUDForum. Page generated in 0.11829 seconds