Computer Science, asked by amanprasad7632, 1 year ago

What does dependency range mean, [2.0.7, 2.0.9)

Answers

Answered by rockyparihar10055
1
i dont know the range
Answered by ashoknithish
0

I have two modules, say A and B, which are using the same library, one

is using 1.0.8 and one 1.0.14:

<dependency>

<groupId>net.anotheria</groupId>

<artifactId>ano-util</artifactId>

<version>1.0.14</version>

</dependency>

A third module (a web-app) uses both A and B. After I built the third

module, it wasn't able to start, because it had the wrong version,

1.0.8 in the WEB-INF/lib. The eclipse dependency analysis showed, that

1.0.14 was omitted in conflict with 1.0.8 (why?!).

I thought ok, than i can work with ranges now. I opened the pom of

project A and changed 1.0.8 to 1.0.14 and added a range to it, to

prevent such problems in the future:

<dependency>

<groupId>net.anotheria</groupId>

<artifactId>ano-util</artifactId>

<version>[1.0.14,)</version>

</dependency

Similar questions