Uploaded image for project: 'Ivy'
  1. Ivy
  2. IVY-983

exclude does not work in non-trivial conf case

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 2.0-RC2
    • Fix Version/s: 2.1.0-RC2
    • Component/s: None
    • Labels:
      None
    • Environment:

      Ubuntu, Linux

      Description

      I'm running into a problem with <exclude>... my ivy.xml looks like this:

      <ivy-module version="2.0">
      <info organisation="ssn-src" module="pc"/>
      <configurations defaultconfmapping="default->default">
      <conf name="default" />
      <conf name="provided" description="they are provided by the env." />
      <conf name="compile" extends="default,provided" />
      <conf name="war" extends="default"/>
      </configurations>
      <dependencies>
      ...
      <dependency org="log4j" name="log4j" rev="1.2.14+"
      conf="provided->default"/>
      ... <!-- other deps; indirect depends on log4j 1.2.13 in all my confs. -->
      <exclude module="log4j" conf="war"/>

      Now, log4j;1.2.14 is in my compile conf, as I expect it to be. But
      log4j;1.2.13 appears in my war conf, which is not what I expect. I expect
      there to be no log4j because in this case the environment will provide it
      (jboss) with its own custom.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                bdamm Benjamin Damm
              • Votes:
                7 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated: