[GRADLE-3147] Ivy global exclude that provides "artifact" attribute doesn't exclude artifact correctly Created: 04/Aug/14  Updated: 27/Jan/15  Resolved: 27/Jan/15

Status: Resolved
Project: Gradle
Affects Version/s: 2.0
Fix Version/s: 2.3-rc-1

Type: Bug
Reporter: Benjamin Muschko Assignee: Unassigned
Resolution: Fixed Votes: 0


 Description   

Let's assume we have 3 dependencies with the names "A", "B", "C" defined in a published ivy.xml. The dependencies tag also declares a global exclude. The exclude provides "B" as the value for the attribute "artifact".

<ivy-module>
    <dependencies>
        <dependency name="A" rev="1.0">
        <dependency name="B" rev="2.0">    
        <dependency name="C" rev="3.0">     
        <exclude artifact="B"/>   
    </dependencies>
</ivy-module>

Observed result:
The dependencies "B" and "C" are both excluded.

Expected result:
What we would expect here is that "B-2.0.jar" is excluded but the module and its dependencies is still included in the result.


Generated at Wed Jun 30 12:41:11 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.