Reply to comment
don't use variables in resources with eclipse:eclipse goal
SO, I tried using the nifty " mvn -Dwtpversion=1.5 eclipse:eclipse" and got a big ugly error:
[INFO] Cant canonicalize system path: {0}
Embedded error: The filename, directory name, or volume label syntax is incorrec
t
[INFO] ------------------------------------------------------------------------The root cause of the problem is that you can not use any variables in the placeholders of your resources in your pom. This is what I had that gave me problems. You can't do this with this plugin:
<resources>
<resource>
<directory>${project.basedir}/JavaSource</directory>
<targetPath>
${project.basedir}/target/src/main/java
</targetPath>
<excludes>
<exclude>test/**</exclude>
</excludes>
</resource>
</resources>
