|
54 | 54 | <dependencyManagement> |
55 | 55 | <dependencies> |
56 | 56 | <dependency> |
57 | | - <groupId>org.testcontainers</groupId> |
58 | | - <artifactId>testcontainers-bom</artifactId> |
59 | | - <version>1.15.3</version> |
60 | | - <type>pom</type> |
61 | | - <scope>import</scope> |
| 57 | + <groupId>com.alipay.sofa.common</groupId> |
| 58 | + <artifactId>sofa-common-tools</artifactId> |
| 59 | + <version>1.3.12</version> |
| 60 | + </dependency> |
| 61 | + <dependency> |
| 62 | + <groupId>org.slf4j</groupId> |
| 63 | + <artifactId>slf4j-api</artifactId> |
| 64 | + <version>1.7.36</version> |
| 65 | + </dependency> |
| 66 | + <dependency> |
| 67 | + <groupId>com.google.guava</groupId> |
| 68 | + <artifactId>guava</artifactId> |
| 69 | + <version>31.1-jre</version> |
| 70 | + </dependency> |
| 71 | + <dependency> |
| 72 | + <groupId>junit</groupId> |
| 73 | + <artifactId>junit</artifactId> |
| 74 | + <version>4.13.2</version> |
62 | 75 | </dependency> |
63 | 76 | </dependencies> |
64 | 77 | </dependencyManagement> |
|
67 | 80 | <dependency> |
68 | 81 | <groupId>com.alipay.sofa.common</groupId> |
69 | 82 | <artifactId>sofa-common-tools</artifactId> |
70 | | - <version>1.3.12</version> |
71 | 83 | </dependency> |
72 | 84 |
|
73 | 85 | <dependency> |
|
91 | 103 | <dependency> |
92 | 104 | <groupId>com.google.guava</groupId> |
93 | 105 | <artifactId>guava</artifactId> |
94 | | - <version>31.1-jre</version> |
95 | 106 | </dependency> |
96 | 107 |
|
97 | 108 | <dependency> |
|
129 | 140 | <dependency> |
130 | 141 | <groupId>org.slf4j</groupId> |
131 | 142 | <artifactId>slf4j-api</artifactId> |
132 | | - <version>1.7.36</version> |
133 | 143 | </dependency> |
134 | 144 |
|
135 | 145 | <dependency> |
136 | 146 | <groupId>junit</groupId> |
137 | 147 | <artifactId>junit</artifactId> |
138 | | - <version>4.13.2</version> |
| 148 | + <scope>test</scope> |
| 149 | + </dependency> |
| 150 | + |
| 151 | + <dependency> |
| 152 | + <groupId>org.junit.jupiter</groupId> |
| 153 | + <artifactId>junit-jupiter</artifactId> |
| 154 | + <version>5.9.2</version> |
139 | 155 | <scope>test</scope> |
140 | 156 | </dependency> |
141 | 157 |
|
|
144 | 160 | <artifactId>powermock-api-mockito2</artifactId> |
145 | 161 | <version>2.0.9</version> |
146 | 162 | <scope>test</scope> |
| 163 | + <exclusions> |
| 164 | + <exclusion> |
| 165 | + <groupId>org.powermock</groupId> |
| 166 | + <artifactId>powermock-reflect</artifactId> |
| 167 | + </exclusion> |
| 168 | + </exclusions> |
147 | 169 | </dependency> |
148 | 170 |
|
149 | 171 | <dependency> |
150 | 172 | <groupId>org.powermock</groupId> |
151 | 173 | <artifactId>powermock-module-junit4</artifactId> |
152 | 174 | <version>2.0.9</version> |
153 | 175 | <scope>test</scope> |
| 176 | + <exclusions> |
| 177 | + <exclusion> |
| 178 | + <groupId>org.powermock</groupId> |
| 179 | + <artifactId>powermock-reflect</artifactId> |
| 180 | + </exclusion> |
| 181 | + </exclusions> |
154 | 182 | </dependency> |
155 | 183 |
|
156 | 184 | <dependency> |
|
164 | 192 | <groupId>org.testcontainers</groupId> |
165 | 193 | <artifactId>jdbc</artifactId> |
166 | 194 | <scope>test</scope> |
| 195 | + <version>1.15.3</version> |
| 196 | + <exclusions> |
| 197 | + <exclusion> |
| 198 | + <groupId>org.rnorth.visible-assertions</groupId> |
| 199 | + <artifactId>visible-assertions</artifactId> |
| 200 | + </exclusion> |
| 201 | + </exclusions> |
167 | 202 | </dependency> |
168 | 203 | </dependencies> |
169 | 204 |
|
|
361 | 396 | </execution> |
362 | 397 | </executions> |
363 | 398 | </plugin> |
| 399 | + <plugin> |
| 400 | + <groupId>org.apache.maven.plugins</groupId> |
| 401 | + <artifactId>maven-enforcer-plugin</artifactId> |
| 402 | + <version>3.0.0-M3</version> |
| 403 | + <executions> |
| 404 | + <execution> |
| 405 | + <id>enforce-dependency-convergence</id> |
| 406 | + <goals> |
| 407 | + <goal>enforce</goal> |
| 408 | + </goals> |
| 409 | + <configuration> |
| 410 | + <rules> |
| 411 | + <DependencyConvergence/> |
| 412 | + </rules> |
| 413 | + </configuration> |
| 414 | + </execution> |
| 415 | + </executions> |
| 416 | + </plugin> |
364 | 417 | </plugins> |
365 | 418 | </build> |
366 | 419 | </profile> |
|
0 commit comments