Commit 7ca2b3dbb3f512af0c3a043f71bac4884320c03a

Authored by Igor Kulikov
Committed by GitHub
2 parents 193c0ce6 02b8b8b8

Merge pull request #5045 from smatvienko-tb/dependency-upgrade-test-scope

[3.3.1] Test scope: dependency upgraded a refactored for all POMs in project
... ... @@ -263,17 +263,6 @@
263 263 <scope>test</scope>
264 264 </dependency>
265 265 <dependency>
266   - <groupId>org.springframework.boot</groupId>
267   - <artifactId>spring-boot-starter-test</artifactId>
268   - <scope>test</scope>
269   - <exclusions>
270   - <exclusion>
271   - <groupId>com.vaadin.external.google</groupId>
272   - <artifactId>android-json</artifactId>
273   - </exclusion>
274   - </exclusions>
275   - </dependency>
276   - <dependency>
277 266 <groupId>org.springframework.security</groupId>
278 267 <artifactId>spring-security-test</artifactId>
279 268 <scope>test</scope>
... ... @@ -289,18 +278,18 @@
289 278 <scope>test</scope>
290 279 </dependency>
291 280 <dependency>
292   - <groupId>junit</groupId>
293   - <artifactId>junit</artifactId>
  281 + <groupId>org.springframework.boot</groupId>
  282 + <artifactId>spring-boot-starter-test</artifactId>
294 283 <scope>test</scope>
295 284 </dependency>
296 285 <dependency>
297   - <groupId>org.awaitility</groupId>
298   - <artifactId>awaitility</artifactId>
  286 + <groupId>org.junit.vintage</groupId>
  287 + <artifactId>junit-vintage-engine</artifactId>
299 288 <scope>test</scope>
300 289 </dependency>
301 290 <dependency>
302   - <groupId>org.mockito</groupId>
303   - <artifactId>mockito-core</artifactId>
  291 + <groupId>org.awaitility</groupId>
  292 + <artifactId>awaitility</artifactId>
304 293 <scope>test</scope>
305 294 </dependency>
306 295 <dependency>
... ... @@ -316,6 +305,7 @@
316 305 <dependency>
317 306 <groupId>org.hsqldb</groupId>
318 307 <artifactId>hsqldb</artifactId>
  308 + <scope>test</scope>
319 309 </dependency>
320 310 <dependency>
321 311 <groupId>org.javadelight</groupId>
... ...
... ... @@ -61,13 +61,18 @@
61 61 <artifactId>logback-classic</artifactId>
62 62 </dependency>
63 63 <dependency>
64   - <groupId>junit</groupId>
65   - <artifactId>junit</artifactId>
  64 + <groupId>org.springframework.boot</groupId>
  65 + <artifactId>spring-boot-starter-test</artifactId>
66 66 <scope>test</scope>
67 67 </dependency>
68 68 <dependency>
69   - <groupId>org.mockito</groupId>
70   - <artifactId>mockito-core</artifactId>
  69 + <groupId>org.junit.vintage</groupId>
  70 + <artifactId>junit-vintage-engine</artifactId>
  71 + <scope>test</scope>
  72 + </dependency>
  73 + <dependency>
  74 + <groupId>org.awaitility</groupId>
  75 + <artifactId>awaitility</artifactId>
71 76 <scope>test</scope>
72 77 </dependency>
73 78 </dependencies>
... ...
... ... @@ -82,6 +82,11 @@
82 82 <scope>test</scope>
83 83 </dependency>
84 84 <dependency>
  85 + <groupId>org.junit.vintage</groupId>
  86 + <artifactId>junit-vintage-engine</artifactId>
  87 + <scope>test</scope>
  88 + </dependency>
  89 + <dependency>
85 90 <groupId>org.awaitility</groupId>
86 91 <artifactId>awaitility</artifactId>
87 92 <scope>test</scope>
... ...
... ... @@ -101,13 +101,18 @@
101 101 <scope>provided</scope>
102 102 </dependency>
103 103 <dependency>
104   - <groupId>junit</groupId>
105   - <artifactId>junit</artifactId>
  104 + <groupId>org.springframework.boot</groupId>
  105 + <artifactId>spring-boot-starter-test</artifactId>
  106 + <scope>test</scope>
  107 + </dependency>
  108 + <dependency>
  109 + <groupId>org.junit.vintage</groupId>
  110 + <artifactId>junit-vintage-engine</artifactId>
106 111 <scope>test</scope>
107 112 </dependency>
108 113 <dependency>
109   - <groupId>org.mockito</groupId>
110   - <artifactId>mockito-core</artifactId>
  114 + <groupId>org.awaitility</groupId>
  115 + <artifactId>awaitility</artifactId>
111 116 <scope>test</scope>
112 117 </dependency>
113 118 </dependencies>
... ...
... ... @@ -63,15 +63,20 @@
63 63 <dependency>
64 64 <groupId>com.fasterxml.jackson.core</groupId>
65 65 <artifactId>jackson-databind</artifactId>
66   - </dependency>
  66 + </dependency>
67 67 <dependency>
68   - <groupId>junit</groupId>
69   - <artifactId>junit</artifactId>
  68 + <groupId>org.springframework.boot</groupId>
  69 + <artifactId>spring-boot-starter-test</artifactId>
70 70 <scope>test</scope>
71 71 </dependency>
72 72 <dependency>
73   - <groupId>org.mockito</groupId>
74   - <artifactId>mockito-core</artifactId>
  73 + <groupId>org.junit.vintage</groupId>
  74 + <artifactId>junit-vintage-engine</artifactId>
  75 + <scope>test</scope>
  76 + </dependency>
  77 + <dependency>
  78 + <groupId>org.awaitility</groupId>
  79 + <artifactId>awaitility</artifactId>
75 80 <scope>test</scope>
76 81 </dependency>
77 82 <dependency>
... ...
... ... @@ -70,13 +70,18 @@
70 70 <scope>provided</scope>
71 71 </dependency>
72 72 <dependency>
73   - <groupId>junit</groupId>
74   - <artifactId>junit</artifactId>
  73 + <groupId>org.springframework.boot</groupId>
  74 + <artifactId>spring-boot-starter-test</artifactId>
75 75 <scope>test</scope>
76 76 </dependency>
77 77 <dependency>
78   - <groupId>org.mockito</groupId>
79   - <artifactId>mockito-core</artifactId>
  78 + <groupId>org.junit.vintage</groupId>
  79 + <artifactId>junit-vintage-engine</artifactId>
  80 + <scope>test</scope>
  81 + </dependency>
  82 + <dependency>
  83 + <groupId>org.awaitility</groupId>
  84 + <artifactId>awaitility</artifactId>
80 85 <scope>test</scope>
81 86 </dependency>
82 87 </dependencies>
... ...
... ... @@ -125,18 +125,18 @@
125 125 <artifactId>curator-recipes</artifactId>
126 126 </dependency>
127 127 <dependency>
128   - <groupId>junit</groupId>
129   - <artifactId>junit</artifactId>
  128 + <groupId>org.springframework.boot</groupId>
  129 + <artifactId>spring-boot-starter-test</artifactId>
130 130 <scope>test</scope>
131 131 </dependency>
132 132 <dependency>
133   - <groupId>org.hamcrest</groupId>
134   - <artifactId>hamcrest</artifactId>
  133 + <groupId>org.junit.vintage</groupId>
  134 + <artifactId>junit-vintage-engine</artifactId>
135 135 <scope>test</scope>
136 136 </dependency>
137 137 <dependency>
138   - <groupId>org.mockito</groupId>
139   - <artifactId>mockito-core</artifactId>
  138 + <groupId>org.awaitility</groupId>
  139 + <artifactId>awaitility</artifactId>
140 140 <scope>test</scope>
141 141 </dependency>
142 142 </dependencies>
... ...
... ... @@ -71,15 +71,19 @@
71 71 <groupId>io.micrometer</groupId>
72 72 <artifactId>micrometer-registry-prometheus</artifactId>
73 73 </dependency>
74   -
75 74 <dependency>
76   - <groupId>junit</groupId>
77   - <artifactId>junit</artifactId>
  75 + <groupId>org.springframework.boot</groupId>
  76 + <artifactId>spring-boot-starter-test</artifactId>
  77 + <scope>test</scope>
  78 + </dependency>
  79 + <dependency>
  80 + <groupId>org.junit.vintage</groupId>
  81 + <artifactId>junit-vintage-engine</artifactId>
78 82 <scope>test</scope>
79 83 </dependency>
80 84 <dependency>
81   - <groupId>org.mockito</groupId>
82   - <artifactId>mockito-core</artifactId>
  85 + <groupId>org.awaitility</groupId>
  86 + <artifactId>awaitility</artifactId>
83 87 <scope>test</scope>
84 88 </dependency>
85 89 </dependencies>
... ...
... ... @@ -82,13 +82,13 @@
82 82 <scope>test</scope>
83 83 </dependency>
84 84 <dependency>
85   - <groupId>junit</groupId>
86   - <artifactId>junit</artifactId>
  85 + <groupId>org.junit.vintage</groupId>
  86 + <artifactId>junit-vintage-engine</artifactId>
87 87 <scope>test</scope>
88 88 </dependency>
89 89 <dependency>
90   - <groupId>org.mockito</groupId>
91   - <artifactId>mockito-core</artifactId>
  90 + <groupId>org.awaitility</groupId>
  91 + <artifactId>awaitility</artifactId>
92 92 <scope>test</scope>
93 93 </dependency>
94 94 <dependency>
... ...
... ... @@ -67,13 +67,13 @@
67 67 <scope>test</scope>
68 68 </dependency>
69 69 <dependency>
70   - <groupId>junit</groupId>
71   - <artifactId>junit</artifactId>
  70 + <groupId>org.junit.vintage</groupId>
  71 + <artifactId>junit-vintage-engine</artifactId>
72 72 <scope>test</scope>
73 73 </dependency>
74 74 <dependency>
75   - <groupId>org.mockito</groupId>
76   - <artifactId>mockito-core</artifactId>
  75 + <groupId>org.awaitility</groupId>
  76 + <artifactId>awaitility</artifactId>
77 77 <scope>test</scope>
78 78 </dependency>
79 79 </dependencies>
... ...
... ... @@ -90,13 +90,13 @@
90 90 <scope>test</scope>
91 91 </dependency>
92 92 <dependency>
93   - <groupId>junit</groupId>
94   - <artifactId>junit</artifactId>
  93 + <groupId>org.junit.vintage</groupId>
  94 + <artifactId>junit-vintage-engine</artifactId>
95 95 <scope>test</scope>
96 96 </dependency>
97 97 <dependency>
98   - <groupId>org.mockito</groupId>
99   - <artifactId>mockito-core</artifactId>
  98 + <groupId>org.awaitility</groupId>
  99 + <artifactId>awaitility</artifactId>
100 100 <scope>test</scope>
101 101 </dependency>
102 102 <dependency>
... ...
... ... @@ -84,8 +84,8 @@
84 84 <scope>test</scope>
85 85 </dependency>
86 86 <dependency>
87   - <groupId>junit</groupId>
88   - <artifactId>junit</artifactId>
  87 + <groupId>org.junit.vintage</groupId>
  88 + <artifactId>junit-vintage-engine</artifactId>
89 89 <scope>test</scope>
90 90 </dependency>
91 91 <dependency>
... ... @@ -93,11 +93,6 @@
93 93 <artifactId>awaitility</artifactId>
94 94 <scope>test</scope>
95 95 </dependency>
96   - <dependency>
97   - <groupId>org.mockito</groupId>
98   - <artifactId>mockito-core</artifactId>
99   - <scope>test</scope>
100   - </dependency>
101 96 </dependencies>
102 97
103 98 </project>
... ...
... ... @@ -85,13 +85,18 @@
85 85 <artifactId>logback-classic</artifactId>
86 86 </dependency>
87 87 <dependency>
88   - <groupId>junit</groupId>
89   - <artifactId>junit</artifactId>
  88 + <groupId>org.springframework.boot</groupId>
  89 + <artifactId>spring-boot-starter-test</artifactId>
  90 + <scope>test</scope>
  91 + </dependency>
  92 + <dependency>
  93 + <groupId>org.junit.vintage</groupId>
  94 + <artifactId>junit-vintage-engine</artifactId>
90 95 <scope>test</scope>
91 96 </dependency>
92 97 <dependency>
93   - <groupId>org.mockito</groupId>
94   - <artifactId>mockito-core</artifactId>
  98 + <groupId>org.awaitility</groupId>
  99 + <artifactId>awaitility</artifactId>
95 100 <scope>test</scope>
96 101 </dependency>
97 102 <dependency>
... ...
... ... @@ -70,18 +70,18 @@
70 70 <artifactId>logback-classic</artifactId>
71 71 </dependency>
72 72 <dependency>
73   - <groupId>junit</groupId>
74   - <artifactId>junit</artifactId>
  73 + <groupId>org.springframework.boot</groupId>
  74 + <artifactId>spring-boot-starter-test</artifactId>
75 75 <scope>test</scope>
76 76 </dependency>
77 77 <dependency>
78   - <groupId>org.hamcrest</groupId>
79   - <artifactId>hamcrest</artifactId>
  78 + <groupId>org.junit.vintage</groupId>
  79 + <artifactId>junit-vintage-engine</artifactId>
80 80 <scope>test</scope>
81 81 </dependency>
82 82 <dependency>
83   - <groupId>org.mockito</groupId>
84   - <artifactId>mockito-core</artifactId>
  83 + <groupId>org.awaitility</groupId>
  84 + <artifactId>awaitility</artifactId>
85 85 <scope>test</scope>
86 86 </dependency>
87 87 </dependencies>
... ...
... ... @@ -80,8 +80,18 @@
80 80 <artifactId>postgresql</artifactId>
81 81 </dependency>
82 82 <dependency>
83   - <groupId>junit</groupId>
84   - <artifactId>junit</artifactId>
  83 + <groupId>org.springframework.boot</groupId>
  84 + <artifactId>spring-boot-starter-test</artifactId>
  85 + <scope>test</scope>
  86 + </dependency>
  87 + <dependency>
  88 + <groupId>org.junit.vintage</groupId>
  89 + <artifactId>junit-vintage-engine</artifactId>
  90 + <scope>test</scope>
  91 + </dependency>
  92 + <dependency>
  93 + <groupId>org.awaitility</groupId>
  94 + <artifactId>awaitility</artifactId>
85 95 <scope>test</scope>
86 96 </dependency>
87 97 <dependency>
... ... @@ -95,11 +105,6 @@
95 105 <scope>test</scope>
96 106 </dependency>
97 107 <dependency>
98   - <groupId>org.mockito</groupId>
99   - <artifactId>mockito-core</artifactId>
100   - <scope>test</scope>
101   - </dependency>
102   - <dependency>
103 108 <groupId>org.apache.commons</groupId>
104 109 <artifactId>commons-lang3</artifactId>
105 110 </dependency>
... ... @@ -207,11 +212,6 @@
207 212 <scope>test</scope>
208 213 </dependency>
209 214 <dependency>
210   - <groupId>org.junit.jupiter</groupId>
211   - <artifactId>junit-jupiter-params</artifactId>
212   - <scope>test</scope>
213   - </dependency>
214   - <dependency>
215 215 <groupId>org.springframework</groupId>
216 216 <artifactId>spring-context-support</artifactId>
217 217 </dependency>
... ...
... ... @@ -34,34 +34,33 @@
34 34 <properties>
35 35 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
36 36 <main.dir>${basedir}/../..</main.dir>
37   - <testcontainers.version>1.11.4</testcontainers.version>
38   - <zeroturnaround.version>1.10</zeroturnaround.version>
39   - <httpclient.version>4.5.13</httpclient.version>
40 37 </properties>
41 38
42 39 <dependencies>
43 40 <dependency>
44 41 <groupId>org.testcontainers</groupId>
45 42 <artifactId>testcontainers</artifactId>
46   - <version>${testcontainers.version}</version>
  43 + <scope>test</scope>
47 44 </dependency>
48 45 <dependency>
49 46 <groupId>org.zeroturnaround</groupId>
50 47 <artifactId>zt-exec</artifactId>
51   - <version>${zeroturnaround.version}</version>
  48 + <scope>test</scope>
52 49 </dependency>
53 50 <dependency>
54 51 <groupId>org.java-websocket</groupId>
55 52 <artifactId>Java-WebSocket</artifactId>
  53 + <scope>test</scope>
56 54 </dependency>
57 55 <dependency>
58 56 <groupId>org.apache.httpcomponents</groupId>
59 57 <artifactId>httpclient</artifactId>
60   - <version>${httpclient.version}</version>
  58 + <scope>test</scope>
61 59 </dependency>
62 60 <dependency>
63 61 <groupId>io.takari.junit</groupId>
64 62 <artifactId>takari-cpsuite</artifactId>
  63 + <scope>test</scope>
65 64 </dependency>
66 65 <dependency>
67 66 <groupId>ch.qos.logback</groupId>
... ...
... ... @@ -46,21 +46,13 @@
46 46 <spring-data-redis.version>2.4.3</spring-data-redis.version>
47 47 <jedis.version>3.3.0</jedis.version>
48 48 <jjwt.version>0.7.0</jjwt.version>
49   - <json-path.version>2.2.0</json-path.version>
50   - <junit.version>4.12</junit.version>
51   - <jupiter.version>5.7.1</jupiter.version>
52   - <awaitility.version>4.1.0</awaitility.version>
53   - <hamcrest.version>2.2</hamcrest.version>
54 49 <slf4j.version>1.7.7</slf4j.version>
55 50 <logback.version>1.2.3</logback.version>
56   - <mockito.version>3.3.3</mockito.version>
57 51 <rat.version>0.10</rat.version>
58 52 <cassandra.version>4.10.0</cassandra.version>
59 53 <metrics.version>4.0.5</metrics.version>
60   - <cassandra-unit.version>4.3.1.0</cassandra-unit.version>
61 54 <cassandra-all.version>3.11.10</cassandra-all.version>
62 55 <cassandra-driver-core.version>3.11.0</cassandra-driver-core.version>
63   - <takari-cpsuite.version>1.2.7</takari-cpsuite.version>
64 56 <guava.version>28.2-jre</guava.version>
65 57 <caffeine.version>2.6.1</caffeine.version>
66 58 <commons-lang3.version>3.4</commons-lang3.version>
... ... @@ -92,9 +84,6 @@
92 84 <jts.version>1.15.0</jts.version>
93 85 <bouncycastle.version>1.64</bouncycastle.version>
94 86 <winsw.version>2.0.1</winsw.version>
95   - <hsqldb.version>2.6.0</hsqldb.version>
96   - <dbunit.version>2.5.3</dbunit.version>
97   - <spring-test-dbunit.version>1.2.1</spring-test-dbunit.version>
98 87 <postgresql.driver.version>42.2.20</postgresql.driver.version>
99 88 <sonar.exclusions>org/thingsboard/server/gen/**/*,
100 89 org/thingsboard/server/extensions/core/plugin/telemetry/gen/**/*
... ... @@ -113,7 +102,6 @@
113 102 <ua-parser.version>1.4.3</ua-parser.version>
114 103 <commons-beanutils.version>1.9.4</commons-beanutils.version>
115 104 <commons-collections.version>3.2.2</commons-collections.version>
116   - <java-websocket.version>1.5.0</java-websocket.version>
117 105 <micrometer.version>1.5.2</micrometer.version>
118 106 <protobuf-dynamic.version>1.0.3TB</protobuf-dynamic.version>
119 107 <wire-schema.version>3.4.0</wire-schema.version>
... ... @@ -123,6 +111,20 @@
123 111 <javax.validation-api.version>2.0.1.Final</javax.validation-api.version>
124 112 <antisamy.version>1.6.2</antisamy.version>
125 113 <snmp4j.version>2.8.5</snmp4j.version>
  114 + <httpclient.version>4.5.13</httpclient.version>
  115 + <!-- TEST SCOPE -->
  116 + <awaitility.version>4.1.0</awaitility.version>
  117 + <cassandra-unit.version>4.3.1.0</cassandra-unit.version>
  118 + <dbunit.version>2.7.2</dbunit.version>
  119 + <hsqldb.version>2.6.0</hsqldb.version>
  120 + <java-websocket.version>1.5.2</java-websocket.version>
  121 + <jupiter.version>5.6.3</jupiter.version> <!-- keep the same version as spring-boot-starter-test depend on jupiter-->
  122 + <json-path.version>2.6.0</json-path.version>
  123 + <spring-test-dbunit.version>1.3.0</spring-test-dbunit.version> <!-- 2016 -->
  124 + <takari-cpsuite.version>1.2.7</takari-cpsuite.version> <!-- 2015 -->
  125 + <!-- BLACKBOX TEST SCOPE -->
  126 + <testcontainers.version>1.11.4</testcontainers.version>
  127 + <zeroturnaround.version>1.10</zeroturnaround.version>
126 128 </properties>
127 129
128 130 <modules>
... ... @@ -1102,6 +1104,12 @@
1102 1104 <artifactId>spring-boot-starter-test</artifactId>
1103 1105 <version>${spring-boot.version}</version>
1104 1106 <scope>test</scope>
  1107 + <exclusions>
  1108 + <exclusion>
  1109 + <groupId>com.vaadin.external.google</groupId>
  1110 + <artifactId>android-json</artifactId>
  1111 + </exclusion>
  1112 + </exclusions>
1105 1113 </dependency>
1106 1114 <dependency>
1107 1115 <groupId>org.springframework.boot</groupId>
... ... @@ -1431,12 +1439,32 @@
1431 1439 <artifactId>takari-cpsuite</artifactId>
1432 1440 <version>${takari-cpsuite.version}</version>
1433 1441 <scope>test</scope>
  1442 + <exclusions>
  1443 + <exclusion>
  1444 + <groupId>junit</groupId>
  1445 + <artifactId>junit</artifactId>
  1446 + </exclusion>
  1447 + </exclusions>
1434 1448 </dependency>
1435 1449 <dependency>
1436 1450 <groupId>org.cassandraunit</groupId>
1437 1451 <artifactId>cassandra-unit</artifactId>
1438 1452 <version>${cassandra-unit.version}</version>
1439 1453 <scope>test</scope>
  1454 + <exclusions>
  1455 + <exclusion>
  1456 + <groupId>junit</groupId>
  1457 + <artifactId>junit</artifactId>
  1458 + </exclusion>
  1459 + <exclusion>
  1460 + <groupId>org.hamcrest</groupId>
  1461 + <artifactId>hamcrest-core</artifactId>
  1462 + </exclusion>
  1463 + <exclusion>
  1464 + <groupId>org.hamcrest</groupId>
  1465 + <artifactId>hamcrest-library</artifactId>
  1466 + </exclusion>
  1467 + </exclusions>
1440 1468 </dependency>
1441 1469 <dependency>
1442 1470 <groupId>org.apache.cassandra</groupId>
... ... @@ -1444,10 +1472,16 @@
1444 1472 <version>${cassandra-all.version}</version>
1445 1473 </dependency>
1446 1474 <dependency>
1447   - <groupId>junit</groupId>
1448   - <artifactId>junit</artifactId>
1449   - <version>${junit.version}</version>
  1475 + <groupId>org.junit.vintage</groupId>
  1476 + <artifactId>junit-vintage-engine</artifactId>
  1477 + <version>${jupiter.version}</version>
1450 1478 <scope>test</scope>
  1479 + <exclusions>
  1480 + <exclusion>
  1481 + <groupId>org.hamcrest</groupId>
  1482 + <artifactId>hamcrest-core</artifactId>
  1483 + </exclusion>
  1484 + </exclusions>
1451 1485 </dependency>
1452 1486 <dependency>
1453 1487 <groupId>org.awaitility</groupId>
... ... @@ -1456,30 +1490,12 @@
1456 1490 <scope>test</scope>
1457 1491 </dependency>
1458 1492 <dependency>
1459   - <groupId>org.hamcrest</groupId>
1460   - <artifactId>hamcrest</artifactId>
1461   - <version>${hamcrest.version}</version>
1462   - <scope>test</scope>
1463   - </dependency>
1464   - <dependency>
1465   - <groupId>org.junit.jupiter</groupId>
1466   - <artifactId>junit-jupiter-params</artifactId>
1467   - <version>${jupiter.version}</version>
1468   - <scope>test</scope>
1469   - </dependency>
1470   - <dependency>
1471 1493 <groupId>org.dbunit</groupId>
1472 1494 <artifactId>dbunit</artifactId>
1473 1495 <version>${dbunit.version}</version>
1474 1496 <scope>test</scope>
1475 1497 </dependency>
1476 1498 <dependency>
1477   - <groupId>org.mockito</groupId>
1478   - <artifactId>mockito-core</artifactId>
1479   - <version>${mockito.version}</version>
1480   - <scope>test</scope>
1481   - </dependency>
1482   - <dependency>
1483 1499 <groupId>org.projectlombok</groupId>
1484 1500 <artifactId>lombok</artifactId>
1485 1501 <version>${lombok.version}</version>
... ... @@ -1514,6 +1530,7 @@
1514 1530 <groupId>org.hsqldb</groupId>
1515 1531 <artifactId>hsqldb</artifactId>
1516 1532 <version>${hsqldb.version}</version>
  1533 + <scope>test</scope>
1517 1534 </dependency>
1518 1535 <dependency>
1519 1536 <groupId>org.springframework.data</groupId>
... ... @@ -1714,6 +1731,23 @@
1714 1731 <artifactId>snmp4j</artifactId>
1715 1732 <version>${snmp4j.version}</version>
1716 1733 </dependency>
  1734 + <dependency>
  1735 + <groupId>org.testcontainers</groupId>
  1736 + <artifactId>testcontainers</artifactId>
  1737 + <version>${testcontainers.version}</version>
  1738 + <scope>test</scope>
  1739 + </dependency>
  1740 + <dependency>
  1741 + <groupId>org.zeroturnaround</groupId>
  1742 + <artifactId>zt-exec</artifactId>
  1743 + <version>${zeroturnaround.version}</version>
  1744 + <scope>test</scope>
  1745 + </dependency>
  1746 + <dependency>
  1747 + <groupId>org.apache.httpcomponents</groupId>
  1748 + <artifactId>httpclient</artifactId>
  1749 + <version>${httpclient.version}</version>
  1750 + </dependency>
1717 1751 </dependencies>
1718 1752 </dependencyManagement>
1719 1753
... ...
... ... @@ -94,14 +94,18 @@
94 94 <scope>provided</scope>
95 95 </dependency>
96 96 <dependency>
97   - <groupId>junit</groupId>
98   - <artifactId>junit</artifactId>
99   - <version>${junit.version}</version>
  97 + <groupId>org.springframework.boot</groupId>
  98 + <artifactId>spring-boot-starter-test</artifactId>
100 99 <scope>test</scope>
101 100 </dependency>
102 101 <dependency>
103   - <groupId>org.mockito</groupId>
104   - <artifactId>mockito-core</artifactId>
  102 + <groupId>org.junit.vintage</groupId>
  103 + <artifactId>junit-vintage-engine</artifactId>
  104 + <scope>test</scope>
  105 + </dependency>
  106 + <dependency>
  107 + <groupId>org.awaitility</groupId>
  108 + <artifactId>awaitility</artifactId>
105 109 <scope>test</scope>
106 110 </dependency>
107 111 </dependencies>
... ...
... ... @@ -126,9 +126,18 @@
126 126 <scope>provided</scope>
127 127 </dependency>
128 128 <dependency>
129   - <groupId>junit</groupId>
130   - <artifactId>junit</artifactId>
131   - <version>${junit.version}</version>
  129 + <groupId>org.springframework.boot</groupId>
  130 + <artifactId>spring-boot-starter-test</artifactId>
  131 + <scope>test</scope>
  132 + </dependency>
  133 + <dependency>
  134 + <groupId>org.junit.vintage</groupId>
  135 + <artifactId>junit-vintage-engine</artifactId>
  136 + <scope>test</scope>
  137 + </dependency>
  138 + <dependency>
  139 + <groupId>org.awaitility</groupId>
  140 + <artifactId>awaitility</artifactId>
132 141 <scope>test</scope>
133 142 </dependency>
134 143 <dependency>
... ... @@ -146,12 +155,6 @@
146 155 </exclusions>
147 156 <scope>test</scope>
148 157 </dependency>
149   - <dependency>
150   - <groupId>org.mockito</groupId>
151   - <artifactId>mockito-core</artifactId>
152   - <scope>test</scope>
153   - </dependency>
154   -
155 158 </dependencies>
156 159
157 160 <build>
... ...
... ... @@ -70,13 +70,13 @@
70 70 <scope>test</scope>
71 71 </dependency>
72 72 <dependency>
73   - <groupId>junit</groupId>
74   - <artifactId>junit</artifactId>
  73 + <groupId>org.junit.vintage</groupId>
  74 + <artifactId>junit-vintage-engine</artifactId>
75 75 <scope>test</scope>
76 76 </dependency>
77 77 <dependency>
78   - <groupId>org.mockito</groupId>
79   - <artifactId>mockito-core</artifactId>
  78 + <groupId>org.awaitility</groupId>
  79 + <artifactId>awaitility</artifactId>
80 80 <scope>test</scope>
81 81 </dependency>
82 82 </dependencies>
... ...
... ... @@ -70,13 +70,13 @@
70 70 <scope>test</scope>
71 71 </dependency>
72 72 <dependency>
73   - <groupId>junit</groupId>
74   - <artifactId>junit</artifactId>
  73 + <groupId>org.junit.vintage</groupId>
  74 + <artifactId>junit-vintage-engine</artifactId>
75 75 <scope>test</scope>
76 76 </dependency>
77 77 <dependency>
78   - <groupId>org.mockito</groupId>
79   - <artifactId>mockito-core</artifactId>
  78 + <groupId>org.awaitility</groupId>
  79 + <artifactId>awaitility</artifactId>
80 80 <scope>test</scope>
81 81 </dependency>
82 82 </dependencies>
... ...
... ... @@ -104,13 +104,13 @@
104 104 <scope>test</scope>
105 105 </dependency>
106 106 <dependency>
107   - <groupId>junit</groupId>
108   - <artifactId>junit</artifactId>
  107 + <groupId>org.junit.vintage</groupId>
  108 + <artifactId>junit-vintage-engine</artifactId>
109 109 <scope>test</scope>
110 110 </dependency>
111 111 <dependency>
112   - <groupId>org.mockito</groupId>
113   - <artifactId>mockito-core</artifactId>
  112 + <groupId>org.awaitility</groupId>
  113 + <artifactId>awaitility</artifactId>
114 114 <scope>test</scope>
115 115 </dependency>
116 116 <dependency>
... ...
... ... @@ -70,13 +70,13 @@
70 70 <scope>test</scope>
71 71 </dependency>
72 72 <dependency>
73   - <groupId>junit</groupId>
74   - <artifactId>junit</artifactId>
  73 + <groupId>org.junit.vintage</groupId>
  74 + <artifactId>junit-vintage-engine</artifactId>
75 75 <scope>test</scope>
76 76 </dependency>
77 77 <dependency>
78   - <groupId>org.mockito</groupId>
79   - <artifactId>mockito-core</artifactId>
  78 + <groupId>org.awaitility</groupId>
  79 + <artifactId>awaitility</artifactId>
80 80 <scope>test</scope>
81 81 </dependency>
82 82 </dependencies>
... ...