Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Anchor
contents
contents

Contents

In Mercury reincarnation of the Artifact library we are trying out the new approach to the dependency conflict resolution. Plus we are modifying the way version ranges are treated.

...

But what happens if we have two dependencies.

Or - in plain XML

Code Block
xml
xml
titlet:a:1xml
<dependencies>
    <dependency>
      <groupId>t</groupId>
      <artifactId>b</artifactId>
      <version>1</version>
    </dependency>
    <dependency>
      <groupId>t</groupId>
      <artifactId>c</artifactId>
      <version>1</version>
    </dependency>
  </dependencies>

and then t:b:1 lists it's dependencies as

Code Block
xml
xml
titlet:b:1xml
<dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
    </dependency>
  </dependencies>

and t:c:1 listls it's dependencies as

Code Block
xml
xml
titlet:b:2xml
<dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>[3.8.1,4.0.0)</version>
    </dependency>
  </dependencies>

...