1. Ivy
  2. IVY-1309

Exclude dosn't work in a more complex build enviroment


    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.3.0-RC1
    • Component/s: Core
    • Labels:


      We are using ant 1.8.2 and Ivy 2.1.0 for our build. When resolving an ivy file the module wide exclude fails to stop a matching transitive dependency from coming in. I have reduced the build down as much as possible to try and make it easy to diagnose but if I strip any more out then the problem goes away. I don't believe there is anything wrong with what's there, it's from a very mature system used to build all the Springsource projects internally. I will upload a zip to reproduce.

      1. Unzip the zip file.
      2. At the command line go in to the unzipped, 'kernel' directory.
      3. run 'ant clean package'
      4. in the target directory just created there will be a 'org.eclipse.osgi-3.7.0.v20110613' file, this is excluded in the ivy file.

      The ivy and build files are pretty minimal but I can't see anything I've done wrong. The artifacts it's pulling in are in the ivy-cache/integration-repo directories so nothing needs to be downloaded.


      1. kernel.zip
        3.63 MB
        Christopher Frost


        Christopher Frost created issue -
        Christopher Frost made changes -
        Field Original Value New Value
        Attachment kernel.zip [ 12489702 ]
        Nicolas Lalevée made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Nicolas Lalevée [ hibou ]
        Fix Version/s trunk [ 12313426 ]
        Resolution Fixed [ 1 ]


          • Assignee:
            Nicolas Lalevée
            Christopher Frost
          • Votes:
            0 Vote for this issue
            2 Start watching this issue


            • Created: