|
49 | 49 |
|
50 | 50 | <properties> |
51 | 51 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 52 | + <maven.cobertura.plugin.version>2.7</maven.cobertura.plugin.version> |
52 | 53 | <maven.compiler.source>1.8</maven.compiler.source> |
53 | 54 | <maven.compiler.target>1.8</maven.compiler.target> |
| 55 | + <maven.compiler.plugin.version>3.8.1</maven.compiler.plugin.version> |
54 | 56 | <maven.deploy.plugin.version>3.0.0-M1</maven.deploy.plugin.version> |
55 | | - <maven-git-code-format.version>1.24</maven-git-code-format.version> |
56 | | - <maven.cobertura.plugin.version>2.7</maven.cobertura.plugin.version> |
| 57 | + <maven.dependency.plugin.version>3.1.1</maven.dependency.plugin.version> |
| 58 | + <maven.enforcer.plugin.version>3.0.0-M2</maven.enforcer.plugin.version> |
| 59 | + <maven.gpg.plugin.version>1.6</maven.gpg.plugin.version> |
| 60 | + <maven.git.code.format.plugin.version>1.24</maven.git.code.format.plugin.version> |
| 61 | + <maven.javadoc.plugin.version>3.1.0</maven.javadoc.plugin.version> |
| 62 | + <maven.nexus.staging.plugin.version>1.6.8</maven.nexus.staging.plugin.version> |
| 63 | + <maven.shade.plugin.version>3.2.1</maven.shade.plugin.version> |
| 64 | + <maven.source.plugin.version>3.1.0</maven.source.plugin.version> |
| 65 | + <maven.surefire.plugin.version>3.0.0-M3</maven.surefire.plugin.version> |
| 66 | + <guava.version>28.0-jre</guava.version> |
57 | 67 | <java.version>1.8</java.version> |
58 | | - <junit.version>4.12</junit.version> |
59 | | - <junit.jupiter.version>5.4.2</junit.jupiter.version> |
60 | | - <junit.vintage.version>${junit.version}.0</junit.vintage.version> |
61 | | - <junit.jupiter.version>5.0.0</junit.jupiter.version> |
62 | | - <junit.platform.version>1.4.2</junit.platform.version> |
| 68 | + <junit.version>5.4.2</junit.version> |
| 69 | + <junit.platform.surefire.provider.version>1.3.2</junit.platform.surefire.provider.version> |
| 70 | + <org.apache.commons>3.8.1</org.apache.commons> |
63 | 71 | <org.apache.jmeter.version>5.1.1</org.apache.jmeter.version> |
64 | | - <org.apache.commons>3.9</org.apache.commons> |
65 | | - <org.apache.kafka>2.2.1</org.apache.kafka> |
| 72 | + <org.apache.kafka>2.3.0</org.apache.kafka> |
66 | 73 | </properties> |
67 | 74 |
|
68 | 75 | <dependencies> |
69 | 76 | <dependency> |
70 | | - <groupId>org.json</groupId> |
71 | | - <artifactId>json</artifactId> |
72 | | - <version>20180813</version> |
73 | | - </dependency> |
74 | | - <dependency> |
75 | | - <groupId>com.google.code.gson</groupId> |
76 | | - <artifactId>gson</artifactId> |
77 | | - <version>2.8.5</version> |
| 77 | + <groupId>com.google.guava</groupId> |
| 78 | + <artifactId>guava</artifactId> |
| 79 | + <version>${guava.version}</version> |
78 | 80 | </dependency> |
79 | 81 | <dependency> |
80 | 82 | <groupId>org.apache.jmeter</groupId> |
|
114 | 116 | <dependency> |
115 | 117 | <groupId>org.junit.jupiter</groupId> |
116 | 118 | <artifactId>junit-jupiter-engine</artifactId> |
117 | | - <version>${junit.jupiter.version}</version> |
118 | | - <scope>test</scope> |
119 | | - </dependency> |
120 | | - <dependency> |
121 | | - <groupId>junit</groupId> |
122 | | - <artifactId>junit</artifactId> |
123 | 119 | <version>${junit.version}</version> |
124 | 120 | <scope>test</scope> |
125 | 121 | </dependency> |
126 | 122 | <dependency> |
127 | | - <groupId>org.junit.platform</groupId> |
128 | | - <artifactId>junit-platform-runner</artifactId> |
129 | | - <version>${junit.platform.version}</version> |
130 | | - <scope>test</scope> |
131 | | - </dependency> |
132 | | - <dependency> |
133 | | - <groupId>org.junit.vintage</groupId> |
134 | | - <artifactId>junit-vintage-engine</artifactId> |
135 | | - <version>${junit.vintage.version}</version> |
| 123 | + <groupId>org.junit.jupiter</groupId> |
| 124 | + <artifactId>junit-jupiter</artifactId> |
| 125 | + <version>${junit.version}</version> |
136 | 126 | <scope>test</scope> |
137 | 127 | </dependency> |
138 | 128 | <dependency> |
|
169 | 159 | <plugin> |
170 | 160 | <groupId>org.apache.maven.plugins</groupId> |
171 | 161 | <artifactId>maven-gpg-plugin</artifactId> |
172 | | - <version>1.6</version> |
| 162 | + <version>${maven.gpg.plugin.version}</version> |
173 | 163 | <executions> |
174 | 164 | <execution> |
175 | 165 | <id>sign-artifacts</id> |
|
190 | 180 | <plugin> |
191 | 181 | <groupId>org.sonatype.plugins</groupId> |
192 | 182 | <artifactId>nexus-staging-maven-plugin</artifactId> |
193 | | - <version>1.6.8</version> |
| 183 | + <version>${maven.nexus.staging.plugin.version}</version> |
194 | 184 | <extensions>true</extensions> |
195 | 185 | <configuration> |
196 | 186 | <serverId>ossrh</serverId> |
|
202 | 192 | <plugin> |
203 | 193 | <groupId>org.apache.maven.plugins</groupId> |
204 | 194 | <artifactId>maven-source-plugin</artifactId> |
205 | | - <version>3.1.0</version> |
| 195 | + <version>${maven.source.plugin.version}</version> |
206 | 196 | <executions> |
207 | 197 | <execution> |
208 | 198 | <id>attach-sources</id> |
|
216 | 206 | <plugin> |
217 | 207 | <groupId>org.apache.maven.plugins</groupId> |
218 | 208 | <artifactId>maven-javadoc-plugin</artifactId> |
219 | | - <version>3.1.0</version> |
| 209 | + <version>${maven.javadoc.plugin.version}</version> |
220 | 210 | <executions> |
221 | 211 | <execution> |
222 | 212 | <id>attach-javadocs</id> |
|
233 | 223 | <plugin> |
234 | 224 | <groupId>com.cosium.code</groupId> |
235 | 225 | <artifactId>maven-git-code-format</artifactId> |
236 | | - <version>${maven-git-code-format.version}</version> |
| 226 | + <version>${maven.git.code.format.plugin.version}</version> |
237 | 227 | <executions> |
238 | 228 | <!-- On commit, format the modified java files --> |
239 | 229 | <execution> |
|
254 | 244 |
|
255 | 245 | <plugin> |
256 | 246 | <artifactId>maven-enforcer-plugin</artifactId> |
257 | | - <version>3.0.0-M2</version> |
| 247 | + <version>${maven.enforcer.plugin.version}</version> |
258 | 248 | <executions> |
259 | 249 | <execution> |
260 | 250 | <goals> |
|
272 | 262 | </plugin> |
273 | 263 |
|
274 | 264 | <plugin> |
| 265 | + <groupId>org.apache.maven.plugins</groupId> |
275 | 266 | <artifactId>maven-surefire-plugin</artifactId> |
276 | | - <version>2.22.2</version> |
277 | | - <dependencies> |
278 | | - <dependency> |
279 | | - <groupId>org.junit.platform</groupId> |
280 | | - <artifactId>junit-platform-surefire-provider</artifactId> |
281 | | - <version>1.3.2</version> |
282 | | - </dependency> |
283 | | - <dependency> |
284 | | - <groupId>org.junit.jupiter</groupId> |
285 | | - <artifactId>junit-jupiter-engine</artifactId> |
286 | | - <version>${junit.jupiter.version}</version> |
287 | | - </dependency> |
288 | | - </dependencies> |
| 267 | + <version>${maven.surefire.plugin.version}</version> |
| 268 | + <configuration> |
| 269 | + <parallel>methods</parallel> |
| 270 | + <threadCount>10</threadCount> |
| 271 | + </configuration> |
289 | 272 | </plugin> |
290 | 273 |
|
291 | 274 | <plugin> |
292 | 275 | <groupId>org.apache.maven.plugins</groupId> |
293 | 276 | <artifactId>maven-compiler-plugin</artifactId> |
294 | | - <version>3.8.1</version> |
| 277 | + <version>${maven.compiler.plugin.version}</version> |
295 | 278 | <configuration> |
296 | 279 | <source>1.8</source> |
297 | 280 | <target>1.8</target> |
|
301 | 284 | <plugin> |
302 | 285 | <groupId>org.apache.maven.plugins</groupId> |
303 | 286 | <artifactId>maven-dependency-plugin</artifactId> |
304 | | - <version>3.1.1</version> |
| 287 | + <version>${maven.dependency.plugin.version}</version> |
305 | 288 | <executions> |
306 | 289 | <execution> |
307 | 290 | <id>copy-dependencies</id> |
|
339 | 322 | <plugin> |
340 | 323 | <groupId>org.apache.maven.plugins</groupId> |
341 | 324 | <artifactId>maven-shade-plugin</artifactId> |
342 | | - <version>3.2.1</version> |
| 325 | + <version>${maven.shade.plugin.version}</version> |
343 | 326 | <executions> |
344 | 327 | <!-- Run shade goal on package phase --> |
345 | 328 | <execution> |
|
0 commit comments