ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maarten Coene (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (IVY-926) Maven Pom reader doesn't handle optional dependencies correctly in some instances
Date Tue, 30 Sep 2008 20:37:44 GMT

     [ https://issues.apache.org/jira/browse/IVY-926?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Maarten Coene resolved IVY-926.
-------------------------------

       Resolution: Fixed
    Fix Version/s: trunk
         Assignee: Maarten Coene

Thank you for your contribution Phil!
I've applied your (slightly modified) patch into SVN trunk and added a junit test.
Could you please verify if it's working for you and post your feedback here?

> Maven Pom reader doesn't handle optional dependencies correctly in some instances
> ---------------------------------------------------------------------------------
>
>                 Key: IVY-926
>                 URL: https://issues.apache.org/jira/browse/IVY-926
>             Project: Ivy
>          Issue Type: Bug
>          Components: Maven Compatibility
>    Affects Versions: 2.0-RC1
>            Reporter: Phil Messenger
>            Assignee: Maarten Coene
>             Fix For: trunk
>
>         Attachments: ivy-maven-pom.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message