Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: 1.10
-
Labels:None
-
Environment:Java 1.4.2_04, win2k
Description
A dependency element like:
<eclipse.dependency>true</eclipse.dependency>
in project.xml causes maven eclipse to skip the dependency completely,
rather than reverting to simple .classpath entry.
I have maven-eclipse-plugin-1.9.jar and maven v. 1.0.1
I would expect eclipse.plugin=false to behave af if the eclipse.plugin property wasn't set at all. Chances are I'm wrong about this, but I couldn't find any documentation that contradicts me.
When I trace it back to the source code, it's this 'when' in classpath.jelly that makes it skip the dependency entirely:
<j:when test="${eclipseDependency == 'false'}">-->
<!-- ignore specific dependencies -->
</j:when>
Again, I'm not too sure it should be doing this. When I take these lines out the dependency is treated as if eclipse.dependency isn't set at all: <classpathentry kind="var" in .classpath and <projects> in .project is empty.