ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jaikiran <>
Subject [GitHub] ant-ivy pull request #10: Fix for IVY-1531
Date Wed, 07 Dec 2016 17:13:32 GMT
GitHub user jaikiran opened a pull request:

    Fix for IVY-1531

    The commit here contains a potential fix for the issue reported in
    Maven pom.xml allows dependency exclusion to include groupid=* and artifactid=* in the
exclusion, which technically translates to transitive = false in Ivy world. The commit here
handles that explicitly so that it doesn't lead to a ivy.xml (generated off pom.xml) to have
something like:
           <exclude org="" module="" name="" type="" ext="*" conf="" matcher="exact"/>
    which effectively excludes the dependency which has this exclusion (as noted in that JIRA).
    The change in this commit now generates the ivy.xml as follows for such exclusions in
           <dependency org="org.owasp.esapi" name="esapi" rev="2.1.0" force="true" transitive="false"
    (notice the transitive=false in there)
    This commit also includes a test which verifies this change.

You can merge this pull request into a Git repository by running:

    $ git pull ivy-1531

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #10
commit d3b8e1906c7f33b089824a4e6f71cc98d38dc369
Author: Jaikiran Pai <>
Date:   2016-12-07T16:43:38Z

    IVY-1531 Fix translation of * for groupid and artifactid, in pom.xml exclusion, for implying
transitive=false in ivy
    	modified:   src/java/org/apache/ivy/plugins/parser/m2/
    	new file:   test/java/org/apache/ivy/core/makepom/
    	modified:   test/java/org/apache/ivy/plugins/parser/m2/
    	modified:   test/java/org/apache/ivy/plugins/parser/m2/test-exclusion.pom


If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message