You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Brian Hawkins (JIRA)" <ji...@apache.org> on 2014/04/26 05:07:14 UTC

[jira] [Created] (IVY-1469) Artifact is excluding itself

Brian Hawkins created IVY-1469:
----------------------------------

             Summary: Artifact is excluding itself
                 Key: IVY-1469
                 URL: https://issues.apache.org/jira/browse/IVY-1469
             Project: Ivy
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.4.0-RC1, 2.3.0
            Reporter: Brian Hawkins


I've uploaded a test project to show the problem here https://drive.google.com/folderview?id=0Bx-AQraTsocjOU9uaFJ1LVdKN2c&usp=sharing

If you run ant and then look at the displayed classpath it should contain jersey-servlet which it doesn't.  The project that is included has a dependency on jersey-servlet and it isn't showing up.

If you run
>java -jar ivy-2.4.0-rc1.jar -debug > debug.txt

and then look through the file debut.txt you will find:
com.sun.jersey#jersey-servlet;1.15 in default: excluding com.sun.jersey#jersey-servlet;1.15!jersey-servlet.jar

The artifact excludes itself!  This works with maven.

Let me know if there is anything else I can provide.



--
This message was sent by Atlassian JIRA
(v6.2#6252)