Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.0-RC1
-
None
Description
The "isOptional" function in org/apache/ivy/plugins/parser/m2/PomReader.java just checks for the existence of an element with the name "optional". If this element is found, it returns "true" indicating that the dependency is optional.
The actual value of the element is ignored, so a dependency with "<optional>false</optional>", is still taken to be an optional dependency.