Versions Compared

Key

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

...

But what happens if we have two dependencies.

Or - in plain XML

Code Block
xmlxml
titlet:a:1
xml
<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

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

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

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

...